du -sh * Command not working
I commonly use the following command 'du -sh *' to get a line item list of all items in a user's account. It has always worked but now I try the same command and the command line gives me:
[root@xxxx useraccount]# du -sh * du: invalid option -- i Try `du --help' for more information. The server in question is using > 'Red Hat Linux release 7.3' Any idea why I am getting this or how to reset this command? |
Quote:
Code:
du -sh -- * |
Also, check to see if the command hasn't become aliased to something:
Code:
which du Code:
alias|grep du |
Thanks guys! The '--i' option did the trick!
|
All times are GMT -5. The time now is 09:16 AM. |