Ubuntu Linux: Working with directory commands Flashcards

1
Q

[man]

A

Opens up manual for any function following this command

ex: [man mkdir]

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

[pwd]

A

Print working directory; print name of current/working directory

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

[cd]

A

Change directory: Used to navigate around the file system

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

[ls]

A

Lists contents within current file/directory

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

[clear]

A

Clears the Linux terminal machine

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

What character indicates to Linux that the file/data is hidden?

A

”.”

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

What does following command [ls] with [-a] display?

A

All files and their contents (including hidden files/content)

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

What does following [ls] with [-l] display?

A

All files and information on file sizes and creation dates(long listed format).

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

True or False: The following command has proper syntax; [ls -l -a]

A

False; in order to combine both functions, putting a hyphen in front of both characters is unnecessary.

Proper syntax: [ls -la]

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

[mkdir]

A

Creates a new file directory

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

[rmdir]

A

Removes an EMPTY directory

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

[-p]

A

Used to create or remove parent folders

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

What command can be used to remove a directory and its contents?

A

[rmdir -p file/directory/tree (this is just a placeholder tree)]

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