Linux Commands Flashcards

1
Q

pwd

A

shows current directory location

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

ls

A

lists the contents of current directory

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

cd

A

navigates to and from directories
cd /var/log

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

mv

A

move or rename files

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

cp

A

copies files and directories

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

rm

A

does not remove directories by default (use -r option\ or -d if directory is empty)

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

find

A

used to find files

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

cat

A

The cat command allows the creation of single or multiple files, view file contents, concatenate files, and redirect output in the terminal to a file

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

grep

A

used to search for one or more patterns

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

nano & vi

A

File editors

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

sudo

A

elevate privileges to superuser

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

su

A

switch user

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

chmod

A

change permissions of files

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

chown

A

change ownership over files

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

ifconfig

A

network interface configuration

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

ip

A

currently preferred IP configuration utility

17
Q

dig

A

testing DNS

18
Q

ps, top

A

ps shows all processes

Top shows CPU, RAM and other utility utilizations

19
Q

kill

A

terminates designated program

20
Q

man

A

equivalent to /?