What is a CLI?
- processes commands to a computer program in the form of text
What is a GUI?
Give atleast one use case for each of the commands listed:
man - get a manual page for any of the commands (eg: man cat, man ls…)
cat - read, print, and concatenate the contents of a file
ls - list information about the files (the current directory by default)
pwd - prints the full filename of the current working directory
echo - displays a line of text (basically console.log for the terminal)
touch - change file timestamps (creates files)
mkdir - creates a directory(ies) if they don’t already exist
mv - move or rename files (rename SOURCE to DEST or move SOURCE(s) to DIRECTORY)
rm - remove files or directories - removes each specified file. removes directories with the -r option. (deletes file instantly - can’t undo!)
cp - copy files and directories. (use -r option to copy directories)
What are the three virtues of a great programmer?