The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 11-26-2008
radoulov's Avatar
radoulov radoulov is offline Forum Staff  
addict
  
 

Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 2,915
Quote:
Originally Posted by Reboot View Post
You can also use :

#du -sh *

it will give you batter o/p...
... if your implementation of du supports it:


Code:
$ du -hs *
du: illegal option -- h
usage: du [-a][-d][-k][-r][-o|-s][-L] [file ...]
/usr/ccs/bin/what /usr/bin/du
/usr/bin/du:
        SunOS 5.8 Generic 109803-01 June 2000
$ /usr/xpg4/bin/du -hs
/usr/xpg4/bin/du: illegal option -- h
usage: du [-a][-k][-r][-s][-x] [file ...]

or:


Code:
$ du -hs *
du: illegal option -- h
usage: du [-a|-s] [-kbrx] [-t type] [name ...]
$ what /usr/bin/du
/usr/bin/du:
         $Revision: B.11.11_LR
         Thu Oct 26 23:49:27 PDT 2000 $

Quote:
What is o/p?
output, I suppose ...