Terminal Vocabulary Flashcards

(8 cards)

1
Q

What is pwd?

A

Print Working Directory. Shows your full path of current location in files.

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

What is cd?

A

Change Directory. Allows you to move to a different DIRECTORY. (ex: cd .. = moves back one directory. cd / = back to first directory. cd Documents = moves to Documents)

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

What is touch?

A

Create new FILE. (ex: touch newfile.txt)

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

What is mkdir?

A

Create new DIRECTORY. (ex: mkdir NewFolder)

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

What is clear?

A

Clears your terminal screen. This does not delete anything.

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

What is ls?

A

List. Displays all files and directories. (current directory or not)

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

What is rm?

A

Remove File / Directory. (for files: rm newfile.txt. for directories: rm -r NewFolder) (also asks for confirmation)

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

What is rm -rf?

A

Same as rm, Remove File / Directory, however, does not ask for confirmation. Immediately forcefully deletes.

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