Command Line Basics Flashcards
What is a CLI?
Command line interfaces, commands run in the terminal
What is a GUI?
Graphics user interface, the part users will interact with
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: manual = man + any command (manual)
cat: concatenatation = cat (file)
ls: to list = ls (file)
pwd: writting your directory to something = PWD + directory name
echo: print word to termincal / file = echo + string and/or file name
touch: creating of files = touch + file and or /directory
mkdir : creating a directory = mkdir directory and or directory/child/grandchild
mv: renaming = mv + file name
rm: removing = rm + filename
cp: copying = cp + file name + new file name
What are the three virtues of a great programmer?
Laziness Impatience Hubris