Commands Flashcards

1
Q

What does pwd mean?

A

Show your working directory (print working directory)

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

What does ls stand for?

A

List

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

What does cd stand for?

A

Change directory

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

What does cd .. mean?

A

Move to the parent directory

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

What does cd . mean?

A

Move to current directory

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

How do you clear your terminal? (Shortcut)

A

Command + k

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

What does cd ~ mean?

A

It’s a tilda - back to home directory

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

How do you auto complete what you’ve typed?

A

Tab

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

How do you quick save?

A

Command s

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

How do you quit?

A

Command q

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

How do you open the terminal editor?

A

Nano [file]

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

When in the terminal editor, how do you save a file?

A

Control O

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

How do you exit out of the terminal editor?

A

Control x

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

How do you navigate through the history of your commands?

A

Up and down arrow

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

What does rm stand for?

A

Remove

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

What does mkdir mean?

A

Make directory

17
Q

How do you delete a directory with rm?

A

-r (stands for recursive)