Command Line Basics Flashcards

1
Q

What is a CLI?

A

Command line interfaces, commands run in the terminal

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

What is a GUI?

A

Graphics user interface, the part users will interact with

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: manual = man + any command (manual)
cat: concatenatation = cat (file)
ls: to list = ls (file)
pwd: writting your directory to something = PWD + directory name
echo: print word to termincal / file = echo + string and/or file name
touch: creating of files = touch + file and or /directory
mkdir : creating a directory = mkdir directory and or directory/child/grandchild
mv: renaming = mv + file name
rm: removing = rm + filename
cp: copying = cp + file name + new file name

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