1.11 - Linux Commands Flashcards

1
Q

man

A

display help for commands

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

ls

A

list files in directory

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

mv

A

move or 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

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

rm

A

remove a file

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

mkdir

A

create a new folder

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

df

A

display free storage space

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

ps

A

displays list of running processes

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

top

A

displays running processes and resource usage

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

find

A

search for text in files in a directory

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

grep

A

search with regular expression

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

dig

A

troubleshoot DNS

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

cat

A

displays the contents of a file

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

nano

A

text editor

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

pwd

A

set or change a password

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

ip

A

displays and configure a NIC

17
Q

rmdir

A

remove folder

18
Q

rm-r

A

remove folder AND files inside

19
Q

su / sudu

A

super user

all commands executed at high privilege

NOT used a lot [security problems]

use pseudo these days

20
Q

cd

A

back to home directory

21
Q

cd -

A

back to where you were before

22
Q

cd..

A

closes folder

23
Q

VI

A

text editor command

24
Q

dd

A

disk to disk

copies entire partition to another one

EX:
/dev/sdb & /dev/sdc
*sudo dd if= /dev/sbd of= /dev/sdc

25
Q

>

A

create file

26
Q

kill

A

kills process

27
Q

shutdown

A

shutdowns Linux