Linux/ macOS Flashcards

1
Q

Pwd

A

Print working directory

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

Hostname

A

My computer’s network name

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

Mkdir

A

Make directory

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

Cd

A

Change directory

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

Ls

A

List directory

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

Rmdir

A

Remove directory

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

Pushd

A

Push directory

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

Popd

A

Pop directory

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

Cp

A

Copy a file or directory

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

Mv

A

Move a file or directory

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

Less

A

Page through a file

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

Cat

A

Print the whole file

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

Xargs

A

Execute arguments

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

Find

A

Find files

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

Grep

A

Find things inside files

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

Man

A

Read a manual page

17
Q

Apropos

A

Find which man page is appropiate

18
Q

Env

A

Look at your enviroment

19
Q

Echo

A

Print some arguments

20
Q

Export

A

Export/set a new environment variable

21
Q

Exit

A

Exit the shell

22
Q

Sudo

A

DANGER! Become super root user DANGER!