What is a CLI?
command line interface: text-based way to talk to a program
What is a GUI?
graphical user interface: web apps etc
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
man: access the online reference manuals
cat: read/concat files
ls: list contents of a directory
pwd: print full file name of current/working directory, tells you “where am i right now”
echo: display a line of text that was typed,
use case: when you want to assign text to a file
touch: updating timestamps/creating new files
mkdir: make directories
mv: moving a file, which is done by renaming the file
rm: removing files
-r option can remove directories and their files
cp: make copies of files
What are the three virtues of a great programmer?