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.
allows users to interact with electronic devices through graphical icons and audio indicator

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

What is the man command for?

A

Let’s you see the manual

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

what is the cat command for?

A

Take one of more files, concatenate the contents together, and display the results

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

What is the ls command for?

A

used in listing contents inside a directory

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

what is the pwd command for?

A

print name of current/working directory

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

What is the echo command for?

A

Displays a line of text

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

What is the touch command for?

A

Changes the file’s time stamps.
Also can create new files if the file doesn’t exist

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

What is the mkdir command for?

A

Makes directories

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

What is the mv command for?

A

Renames a file and moves a source to a different directory

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

What does the rm command do?

A

removes a file(s)

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

What does the cp command do?

A

copy your files or directories

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