Learn Linux in 5 Days Flashcards

(19 cards)

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 directory.

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

pwd

A

Displays the present working directory.

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

cat

A

Concatenates and displays files.

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

echo

A

Displays arguments to the screen.

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

man

A

Displays the online manual.

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

exit

A

Exits the shell or your current session.

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

clear

A

Clears the screen.

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

-l

A

Long listing format.

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

Are Linux commands case sensitive?

A

Yes.

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

which

A

Locate a command.

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

which tac

A

Displays the file’s contents in reverse order.

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

man -k SEARCH_TERM

A

Searches man pages in whatever your search term is.

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

man -k calendar

A

Searches calendar

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

man

A

Used to display documentation.

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

$PATH

A

Controls your search path.

17
Q

which

A

Locate a command.

You can learn the full path of commands with which.

18
Q

–help or -h

A

Ask commands for help.

19
Q

man -k

A

Searches man pages.