Bash-oneliner: A collection of handy Bash one-liners and terminal tricks
A really nice list, thanks a lot for sharing! :)I'd add this when a filesystem gets almost full (but not overfilled, see below). This shows where most of the space goes:  # du -axm / | sort -n | tail # takes a while on large filesystems, or ones with lots of files

Then narrow down for each of the most filled directories:  # du -axm /some/dir | sort -n | tail # subsequent searches are fast, now that metadata is cached.

In case there is no space at all, sort will complain if the /tmp directory is on the same fs, then the only option is to search any suspect directories with du -sm $dirAnd about this one: https://github.com/onceupon/Bash-Oneliner#using-ctrl-keysA bit surprised that the Ctrl+b(ack one...) and Ctrl+f(orward one char) shortcuts are not included.As well as their Alt+b/f for a word back/forward too. Very convenient for going through a long command by getting in the beginning or the end of the line, then move words back/forth to update it.