Commands to Know: ls Flashcards

1
Q

ls -a

A

displays all hidden files

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

ls -i

A

desplays unique file numbe (inode number)

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

ls -l

A

displays extra info

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

ls -o

A

omits color-coding outpup

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

-p or -F

A

marks file by adding special character

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

-r

A

reverses sort order

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

-R

A

recurses into subdirectories

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

-S

A

sorts files by size

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

-t

A

sorts by modification time (newest first)

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

-X

A

sorts by extension

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

displays all hidden files

A

-a

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

desplays unique file numbe (inode number)

A

-i

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

displays extra info

A

-l

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

omits color-coding outpup

A

-o

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

marks file by adding special character

A

-p or -F

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

reverses sort order

A

-r

17
Q

recurses into subdirectories

A

-R

18
Q

sorts files by size

A

-S

19
Q

sorts by modification time (newest first)

A

-t

20
Q

sorts by extension

A

-X