Linux Commands Flashcards

1
Q

ls

A

Lists directory contents

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

cd

A

Changes the current direcotryp

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

pwd

A

Prins the current working directory

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

cp

A

Copies files and directories

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

mv

A

moves (renames) files and directories

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

rm

A

Removes the files and direcotires

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

mkdir

A

Creates directories

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

rmkdir

A

Removes empty directories

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

tourch

A

Creates empty files, or updates the timestamp on an existing file

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

cot

A

Displays files contents

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

grep

A

Searches for patterns within files

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

head

A

Displays the beginning of a file

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

tail

A

Displays the end of a file

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

less OR more

A

Paging prgrams that allow you to view the contents of files

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

chmod

A

Changes file permissions

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

chown

A

Changes file ownership

17
Q

ps

A

Displays running processes

18
Q

kill

A

terminates processes

19
Q

shutdown OR reboot

A

Shuts down or reboots the system