Command line Flashcards

1
Q

What is a CLI?

A

command line interface

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; aimed at consumers of technology; example is a browser window

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

Give at least one use case for man

A

look up manual for ls command

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

Give at least one use case for cat

A

view contents of specific file

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

Give at least one use case for ls

A

list directory contents

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

Give at least one use case for pwd

A

print current working directory

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

Give at least one use case for echo

A

display a line of text on terminal

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

Give at least one use case for touch

A

change file timestamps

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

Give at least one use case for mkdir

A

create directories

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

Give at least one use case for mv

A

move file to another file

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

Give at least one use case for rm

A

remove files

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

Give at least one use case for cp

A

copy file contexts to other file

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