Command Line Flashcards
What is a CLI?
Command Line Interface - connect user to interface or operating system
What is a GUI?
Graphical User Interface - supposed to be simpler and easier to use
What does man do?
Displays a manual for a command
What does cat do?
Concatenates files and shows content within a file
What does ls do?
Lists directory contents
What does pwd do?
It prints the path of the working directory, starting from the root. It is an absolute path.
What does echo do?
Displays a line of text. You can also print text to files.
What does touch do?
Changes file timestamps and creates new files.
What does mkdir do?
Make directories
What does mv do?
Move or rename file
What does rm do?
Remove files or directories
What does cp do?
Copies files or directories
What are the three virtues of a great programmer?
Laziness, Impatience, Hubris