Command Line Basics Flashcards
1
Q
What is a CLI?
A
command-line literacy
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 - for every other use case
cat - to combine two files
ls - to list the current files avaliable
pwd - print name of current/working directory
echo - print strings into terminal
touch - change file timestamps
mkdir - create new directories
mv - move or rename files
rm - remove files
cp - copy files
4
Q
What are the three virtues of a great programmer?
A
Laziness, Impatience, and Hubris.