Command Line Flashcards

1
Q

What is CLI

A

Command Line interfaces - process commands of 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 GUI

A

Graphical user interface. That are used for consumers. - interact with their devices using mouses or audio or direct manipulation

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

man

A

used to display the user manual

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

cat

A

is short for concatenate allows to redirect files

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

ls

A

prints the working directory

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

pwd

A

tells you exactly where you are in the directory you are currently in print name of current working directory

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

echo

A

display 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

creates a directory if a directory doesn’t already exist

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 or 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