Interprete rm, touch, cp. mv Flashcards

1
Q

What command can be used to get more info about a commend?

A

man [command]

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

What is the newline character in Terminal?

A

/n

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

What command displays User ID?

A

echo $UID

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

What does this command do?

mv

A

Move or rename a file or directory

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

What does this command do?

cp

A

Copy one or more files to a new location

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

What does this command do?

touch unique-name-file.txt

A

Creates a new file named unique-name-file.txt

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

What does this command do?

touch pre-existing-file.txt

A

update modification time for pre-existing-file.txt

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

What does this command do?

touch

A

Create a new file or update modification time if a file with that name exists

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

What does this command do?

rm

A

Remove one or more files

if executed with -d option it can remove directories

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

what command displays a directory and its sub-directories in a pretty graphical format in the Terminal?

A

tree

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

what command displays the currently running system processes?

A

top

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