1025 shell command one-liners on one page
- Published at
- Updated at
- Reading time
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
# 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. 💻