command-line-basics Flashcards
What is a CLI?
Command-line interface
-i.e. GIT
What is a GUI?
Graphical user interface
-i.e. browser window
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: user manual, view command instructions
cat: concatenating files, prints the files
ls: list segments, lists what’s in your directory(s)
pwd: print working directory, prints the current directory
echo: “echos” what you type, prints a string to the terminal, adds text to a file
touch: create change or modify the timestamp of a file, create a blank file
mkdir: make new directories
mv: move, moves files and folders, renames files
rm: remove, removes files and directories, permanent command
cp: copy, copies individual files or whole directories
What are the three virtues of a great programmer?
laziness, impatience, and hubris