1025 shell command one-liners on one page
Written by Stefan Judis
- 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.
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.
Reply to this post and share your thoughts via good old email.