Published at
Updated at
Reading time
1min

I just discovered a massive collection of useful linux/shell command one-liners, and I'm such a suc*** for one-liners.

Linux Command Library – one liners

To give you an idea of what's included in this extensive list. There are hundreds of snippets like the three below listed.

# Get the 10 biggest files/folders for the current directory
du -s * | sort -n | tail

# Remind yourself to leave in 5 minutes
leave +5

# Save man-page as pdf
man -t awk | ps2pdf - awk.pdf

The thing with these commands is that there's no chance that I'll remember these in the future. But I'll keep browsing and might add some new aliases/functions to my dotfiles.

Nevertheless, I recommend having a look at this list if the terminal is your kind of thing. 💻

If you enjoyed this article...

Join 5.5k readers and learn something new every week with Web Weekly.

Web Weekly — Your friendly Web Dev newsletter
Reply to this post and share your thoughts via good old email.
Stefan standing in the park in front of a green background

About Stefan Judis

Frontend nerd with over ten years of experience, freelance dev, "Today I Learned" blogger, conference speaker, and Open Source maintainer.

Related Topics

Related Articles