Chapter 7 Flashcards

1
Q

Linux directory structure is called _____

A

filesystem

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

home directory

A

where there is a directory for each user

Ex; /home/yourname

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

Visual representation of filesystem

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

Absolute paths

A

Always starts at the root directory so it starts with /

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

Relative path

A

Gives directions to a file relative to the current location and do not start with /

Ex: cd Documents

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

cd ..

A

move one directory higher

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

ls -a

A

Displays all files including the hidden ones (starts with a dot .)

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

ls -l
ls -hl

A

to view metadata
list in human readable size like KB

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

ls /

A

To view root directory content

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

pwd

A

print working directory

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

ls -hl

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

ls -S

A

sort by size

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

ls -R

A

Recursive. List files as well as the files in each subdirectory

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