I've searched my best through Google, but for the life of me I can't figure out what to use instead of * (asterisk) after a recent update (even Wikipedia seems to thinkdu -sh * and du -sh * should work)I've useddu -sh * | sort -h ever since just before sort got the -h option (on Fedora I think, took a while before I could use the sort -h on CentOS), but suddenly * seems to output a long list ofdu: invalid option -- ' 'where the ' ' goes through all the invalid options not mentioned in the man page.I would be very thankful if someone could tell me what would be the equivalent of du -sh * | sort -hon the updated versions.
Why does `du -sh *` complain about invalid options?
shell script;wildcards;disk usage;options