command line basics Flashcards

1
Q

What is a CLI?

A

Command Line Interface

text based interface, can also be used by other programs

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.

man, cat, ls, pwd, echo, touch, mkdir, mv, rm, cp

A
man - manual
cat - print txt (concatenate files)
ls - list directory contents
pwd - print working directory (path)
echo - print value
touch - create file
mkdir - make directory
mv - rename file
rm - remove
cp - copy
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

hubris, impatience, and laziness

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