Command Line Basics Flashcards

1
Q

What is a CLI?

A

command-line literacy

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

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 - for every other use case
cat - to combine two files
ls - to list the current files avaliable
pwd - print name of current/working directory
echo - print strings into terminal
touch - change file timestamps
mkdir - create new directories
mv - move or rename files
rm - remove files
cp - copy files

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, Impatience, and Hubris.

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