Command Line Flashcards

1
Q

What is a CLI?

A

Command Line Interface

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

What is a GUI?

A

Graphical User Interface

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

Give at least one use case for the command:

man

A

Get more information on a command

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

Give at least one use case for the command:

cat

A

Concatenates 2 files together, also prints out a files contents in the terminal

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

Give at least one use case for the command:

ls

A

(List Segments) Listing the files and directories within the current directory you are in

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

Give at least one use case for the command:

pwd

A

(Print working directory) Shows you what directory you are in

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

Give at least one use case for the command:

echo

A

Prints out strings to the terminal but also make a new file out of a specific string

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

Give at least one use case for the command:

touch

A

Creates a new empty file

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

Give at least one use case for the command:

mkdir

A

Creates new directories, and also child and grandchild directories

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

Give at least one use case for the command:

mv

A

Rename or move files and directories

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

Give at least one use case for the command:

rm

A

Delete folder or files (permanent delete)

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

Give at least one use case for the command:

cp

A

Copies files or directories

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