command-line-basics Flashcards

1
Q

What is a CLI?

A

Command-line interfaces

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, aimed at users of technology and not producers of technology. GUIs are not always readily available for performing technical tasks.

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
man = to see how the CLI works
cat = to get info about a file. Combine info from file, create new file.
Ls = to list information about a file.
Pwd = to verify where you are
Echo = to display a line of text
Touch = to create a blank, empty file
Mkdir = create directories
Mv = move or rename file
Rm = remove files or directories. By default, does not remove directories
Cp = copy files and directories
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the three virtues of a great programmer?

A

Laziness, impatience, hubris

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