Command Line Flashcards

1
Q

What is a CLI?

A

command line interface (ex/ git)

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

VSCode is a GUI text editor

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 - open manual for command
cat - print context of a file
ls - list all files in directory
pwd - print working dir (current directory)
echo - repeats back string (good for if you add content like 1-2 lines txt to a file)
touch - create a file
mkdir - create a dir
mv - move file or rename (mv fileName renameName/destination)
rm - remove or delete file/dir
cp - copy file or folder

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, hubris

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