command line basics Flashcards
1
Q
What is a CLI?
A
Command Line Interface: Applications executed thru command line
2
Q
What is a GUI?
A
Graphical User Interface: Visible user-friendly presentation of applications
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: Find manual for commands
- cat: Show or concatenate files
- ls: List all files and directories
- pwd: Find directory you are in
- echo: Show something in form of text
- touch: Create files
- mkdir: Create folders
- mv: Move or rename files
- rm: Remove files and directories
- cp: Copy files, directories, and recursively copy either
4
Q
What are the three virtues of a great programmer?
A
Laziness: Reduce effort
Impatience: Write programs that react to you
Hubris: Write with quality