Ravi Sir's Cards › AWS
cat vs less
This comparison card contrasts cat and less. cat is described as prints the whole file. less Shows one screen at a time. The card pairs cat with short configs, and less with big logs.
Read card text
What this card says
Best for
cat
Prints the whole file.
less
Shows one screen at a time.
Key points
Fast for small files.
Search, scroll, huge files.
Example
cat app.conf
Use when
Short configs.
Big logs.