Commands to Know: ls Flashcards
1
Q
ls -a
A
displays all hidden files
2
Q
ls -i
A
desplays unique file numbe (inode number)
3
Q
ls -l
A
displays extra info
4
Q
ls -o
A
omits color-coding outpup
5
Q
-p or -F
A
marks file by adding special character
6
Q
-r
A
reverses sort order
7
Q
-R
A
recurses into subdirectories
8
Q
-S
A
sorts files by size
9
Q
-t
A
sorts by modification time (newest first)
10
Q
-X
A
sorts by extension
11
Q
displays all hidden files
A
-a
12
Q
desplays unique file numbe (inode number)
A
-i
13
Q
displays extra info
A
-l
14
Q
omits color-coding outpup
A
-o
15
Q
marks file by adding special character
A
-p or -F