command-line-basics Flashcards
What is a CLI?
A command-line interpreter or command-line processor uses a command-line interface (CLI) to receive commands from a user in the form of lines of text. A command-line interface (CLI) is a text-based user interface (UI) used to run programs, manage computer files and interact with the computer. Command-line interfaces are also called command-line user interfaces, console user interfaces and character user interfaces.
What is a GUI?
graphical user interface aka GUI. However, applications that use a GUI are usually aimed at consumers of technology (end users), not producers of technology (developers). There are certainly many GUI-based applications in wide use by developers. This lesson was authored using a GUI text editor (VS Code)
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 pull up the manuel
cat - view content of a file
ls - make sure you added a file/view the list of files
pwd - show your working directory
echo - give it a string to say back to you
touch - create a file
mkdir - make multiple folders at once, create a new folder
mv - move file or directory somewhere else
rm - remove files
cp - copy
What are the three virtues of a great programmer?
laziness, hubris, impatience