Linux terminal Flashcards

1
Q

ls

A

list directory contents

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

pwd

A

shows current directory name (print working directory)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

mv

A

rename a file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

cp

A

copy a file and name new file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

rm

A

remove files
rm -r = remove directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

chmod

A

change permissions for owner

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

chown

A

change name of owner or name of group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

su / sudo

A

elevated rights command stands for (super user)

sudo = 1 time
su = super user for entire session

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

apt-get

A

install or uninstall

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

yum

A

install or uninstall on other versions of linux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

ip

A

network configuration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

df

A

disk free - shows free space avaliable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

grep

A

search text in a file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ps

A

current process viewer (view all processes on system)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

top

A

view CPU, RAM, and resource utilization (linux version of task manager)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

find

A

find a file by name or extension

17
Q

dig

A

lookup info about domain names (shows ip addresses of website names)

18
Q

cat

A

concatenate (combined two files or just show both of them together)

19
Q

nano

A

default text editor

20
Q

man

A

display user manual