Linux Commands Flashcards

1
Q

~root

A

Home directory of the root user

/root

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

~josh

A

Home directory of the josh account

/home/josh

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

~ftp

A

Home directory of the ftp service account

/srv/ftp

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

~

A

Home directory

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

ls

A

lists directory contents

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

cd

A

Changes the current working directory

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

pwd

A

Displays present working directory

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

cat

A

Displays file contents

Concatenates all strings in a file into one string

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

echo

A

Display arguments to the screen

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

man

A

Displays the online manual

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

exit

A

Exits the shell or current session

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

clear

A

Clears the screen

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

tac

A

Displays file contents in reverse order

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

man -k cron

A

Search man pages for commands that contain cron

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