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

one use case for the command: man

A

“man” as in “manual”

man git

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

one use case for the command: cat

A

“cat” as in print the contents

cat

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

one use case for the command: ls

A

list the files and directories of the respective path you are in

ls

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

one use case for the command: pwd

A

display the respective you are in; “pwd” means print working directory

pwd

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

one use case for the command: mv

A

“mv” literally means “move”, i.e.,

let’s say i have main.c in my home directory and want to move into a folder within my home directory:

mv main.c

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

one use case for the command: rm

A

“rm” literally means “remove”, i.e.,

rm main.c

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

one use case for the command: mv

A

“mv” means “move”, i.e.,

let’s say i have main.c in my home directory and want to move into a folder within my home directory:

mv main.c

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

one use case for the command: rm

A

“rm” means “remove”, i.e.,

rm main.c

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

one use case for the command: cp

A

“cp” means “copy”

cp favicon.ico assets/images/

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