head 📜

Displays file content from beginning.

head -n 5 ~/.bashrc
tail -n -3 ~/.bashrc
head -c 1k ~/.bashrc

Prints first 1k of file binary content.

tail -c -1k ~/.bashrc

About Living in the Shell
Obsessed with doing things in the shell, I’ve decided to share my daily struggles on living in the shell as terse but informative posts.