command line basics Flashcards

1
Q

What is a CLI?

A

Command Line Interface: Applications executed thru command line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a GUI?

A

Graphical User Interface: Visible user-friendly presentation of applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly