Command Line Basics Flashcards
What is a CLI?
o Command Line Interface
o Where you write text for the computer to process
What is a GUI?
o Graphical User Interface
o User interface that allows users to interact with devices with graphics instead of commands
Give at least one use case for each of the commands listed in this exercise.
o man – looking up command information
o cat – printing contents of a file
o ls – seeing a list of files in a directory
o pwd – checking the location of my current directory
o echo – displaying text on terminal
o touch – updating the time stamp on a file
o mkdir – creating new directory(s)
o mv – renaming a directory
o rm – removing a file
o cp – copying a file with a new name
What are the three virtues of a great programmer?
o Laziness
o Impatience
o Hubris