command-line-basics Flashcards

1
Q

What is a CLI?

A

command line interface - terminals cmndr or gitbash

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 - vs code - mac OS

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

man

A

looking for the manual

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

cat

A

print and concatenate files

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

ls

A

list directory contents

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

pwd

A

print name of current directory

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

echo

A

displays a line of text

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

touch

A

change file timestamps

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

mkdir

A

make directories

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

mv

A

move or rename files

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

rm

A

remove files and directories

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

cp

A

copy files and directories

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

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