Nix: List contents of directories in a tree-like format
Why don’t I use this command more?
Why don’t I use this command more?
To duplicate the content while piping you can use the tee utility. One straightforward and useful example is that tee can be used to write to multiple fil...
To make your 4 CPUs run flat out for 60 seconds:
du -hsc * | sort -h
By default, the sort command will sort things alphabetically. If you have numerical input though, you may want a numerical sort. This is what the -n flag is ...