Command Line Flashcards
1
Q
What is a CLI?
A
command line interface (ex/ git)
2
Q
What is a GUI?
A
graphical user interface
VSCode is a GUI text editor
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 - open manual for command
cat - print context of a file
ls - list all files in directory
pwd - print working dir (current directory)
echo - repeats back string (good for if you add content like 1-2 lines txt to a file)
touch - create a file
mkdir - create a dir
mv - move file or rename (mv fileName renameName/destination)
rm - remove or delete file/dir
cp - copy file or folder
4
Q
What are the three virtues of a great programmer?
A
laziness, impatience, hubris