command line basics Flashcards
1
Q
What is a CLI?
A
Command Line Interface
text based interface, can also be used by other programs
2
Q
What is a GUI?
A
Graphical User Interface
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
4
Q
What are the three virtues of a great programmer?
A
hubris, impatience, and laziness