Ravi Sir's Cards › AWS
head vs tail
This comparison card contrasts head and tail. head is described as first lines. tail is described as last lines. The card pairs head with cSV header, and tail with live logs.
Read card text
What this card says
Part shown
head
First lines.
tail
Last lines.
Key points
Check headers.
Check recent events, follow.
Example
head -n 5 a.csv
Use when
CSV header.
Live logs.