Command Line Flashcards

1
Q

What is a CLI?

A

Command Line Interfaces (CLIs) is text-based way to talk to a program.

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

What is a GUI?

A

Graphical User Interfaces (GUIs) are a form of UI that allows users to interact with technology through icons and audio versus pure text.

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 - to read the fucking manual
cat - to print or combine file contents
ls - to see the contents of the current or specified directory
pwd - to see the current working directory path
echo - to print text
touch - to create new files
mkdir - to create new directories
mv - to move or rename files
rm - to delete files or directories
cp - to make a copy of an existing file

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