Ravi Sir's Cards › AWS
View files fast
This revision card explains View files fast. It starts from the need that read files without opening an editor. It describes cat small, less big, head/tail ends. The how-to section notes number lines or show hidden chars. An example on the card is read the last 20 log lines.
Read card text
What this card says
Why do we need it?
Read files without opening an editor.
What is it?
cat small, less big, head/tail ends.
How to do it
Number lines or show hidden chars.
cat -n app.conf
Example
Read the last 20 log lines.
tail -n 20 app.log