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. 💻

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