DEV Community

Discussion on: Three hacks and commands to use in your terminal.

Collapse
tux0r profile image
tux0r

du -sh */ | sort -rh | head -6

sort: illegal option -- h

Just add this to your ~/.bashrc:

You should add that a major part of your article is only applicable to bash users to your tags or the headline.

mkdir kyu_{1..8}

At least this is portable. ;-)

Collapse
antonrich profile image
Anton Author

Do you use zsh?

Collapse
tux0r profile image
tux0r

I use the POSIX standard shell, the ksh, on most of my servers. (The notable exception being one which has the tcsh, but I usually don't try to use it for scripting.)