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 each of the commands listed in this exercise.

A

Read the following slides

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

man

A

Confirming option syntax and use for various command line operations

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

cat

A

Confirming text content of file before organizing in folders

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

ls

A

Confirming location and name of files and folders in a directory

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

pwd

A

Keeping track of progress while navigating a variety of directories

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

echo

A

Creating text content to place in a file

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

touch

A

Can be used to create flags for files that have been reviewed or need to be reviewed

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

mkdir

A

Additional utility for organizing a large number of files into various new directories

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

mv

A

Correcting typos in directory and file names

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

rm

A

Cleaning up directories by deleting unnecessary files

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

cp

A

can be used to create sample files for experimenting with code, without breaking the original file

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

What are the three virtues of a great programmer?

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