command-line-basics Flashcards
1
Q
What is a CLI?
A
Command-line interfaces
2
Q
What is a GUI?
A
Graphical user interface, aimed at users of technology and not producers of technology. GUIs are not always readily available for performing technical tasks.
3
Q
Give at least one use case for each of the commands listed in this exercise.
A
man = to see how the CLI works cat = to get info about a file. Combine info from file, create new file. Ls = to list information about a file. Pwd = to verify where you are Echo = to display a line of text Touch = to create a blank, empty file Mkdir = create directories Mv = move or rename file Rm = remove files or directories. By default, does not remove directories Cp = copy files and directories
4
Q
What are the three virtues of a great programmer?
A
Laziness, impatience, hubris