Flags Flashcards

1
Q

Ls -l

A

list in long formation

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

Ls -a

A

shows hidden files

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

ls -S

A

sort by size

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

Ls -r

A

reverse the list

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

Cat -b filename.txt

A

adds line numbers for non blank lines, does not edit file

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

Cat -n filename.txt

A

Number all output lines

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

Cat -s filename txt

A

compresses large spaces to one, does not edit file

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

Cat -E filename txt

A

adds $ to end of lines, does not edit file

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

Mkdir

A

p one/two -makes directory one and then two inside

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