Command Line Flashcards
What is a CLI?
Command Line Interfaces (CLIs) is text-based way to talk to a program.
What is a GUI?
Graphical User Interfaces (GUIs) are a form of UI that allows users to interact with technology through icons and audio versus pure text.
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 - to read the fucking manual
cat - to print or combine file contents
ls - to see the contents of the current or specified directory
pwd - to see the current working directory path
echo - to print text
touch - to create new files
mkdir - to create new directories
mv - to move or rename files
rm - to delete files or directories
cp - to make a copy of an existing file
What are the three virtues of a great programmer?
- Laziness
- Impatience
- Hubris