Ch 4 Using Common Text File-Related Tools Flashcards

1
Q

What command opens text file in a pager (to the console/terminal/stdout), allowing for easier reading?

A

less

(e.g.,

sudo dmesg | less
pipes the output of dmesg to a pager

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

what command dumpts contents of a text file to screen

A

cat
(short for concatenate…chaining things together)

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