Command-Line basics Flashcards

1
Q

What is CLI?

A

command-line interface / processor: uses a command-line interface to receive commands from a user in a form of lines of texts.

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

What is GUI?

A

graphical user interface: aimed at consumers of technology (end-users)

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

man

A

pulls up manual

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

cat

A

concat and prints files

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

ls

A

lists files in directory

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

pwd

A

prints working directory

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

echo

A

displays lines of text

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

touch

A

change file timestamps.
Updates the access and modification times of each FILE to the current time.

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

mv

A

moves and renames files

Rename SOURCE or DEST or move SOURCE(s) to DIRECTORY

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

mkdir

A

make directory

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

rm

A

removes files or directories

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

cp

A

copy files or directories

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

history

A

the History Library keeps track of the user’s command input lines, associates arbitrary data with each line, and utilizes info from previous lines in composing new ones.

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