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. 💻
Was this post helpful?
Yes? Cool! You might want to check out Web Weekly for more WebDev shenanigans. The last edition went out 12 days ago.
Yes? Cool! You might want to check out Web Weekly for more WebDev shenanigans. The last edition went out 12 days ago.