Command LIne Flashcards

1
Q

What is a CLI?

A

command line interface- processes commands to a computer program in the form of lines of text

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- is a form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator such as primary notation, instead of text-based user interfaces

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- man man- on-line reference manuals / manuals
cat- combine files /concatenate files
ls-look at the files you have in the directory / list segments or list shit
pwd-get the path to your current directory
echo-to display a line of text in your command line
touch-to update the timestamps on files
mkdir-to create a directory / make directory
mv-to move file or rename it
rm-remove a file / directory
cp-to copy files / directory

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