[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] ls
> > du -s dirname
>
> Yeah .. gives ya the number of blocks in the directory ... but
> what if the block (i-nodes or whatever they called) size isn't
> 512 bytes?
>
> I've always wanted a little program for Unix that counts up the
> bytes .. wow ... I therefore conclude that DOS is light years
> ahead of any Unixy system =)
>
a quick look at `man du` shows that man -k gives sizes in 1024 byte blocks
(i.e. in kilobytes)
\/|<
Victor Rajewski
vik@nospam.progsoc.uts.edu.au
http://www.progsoc.uts.edu.au/~vik
`Man will occasionally stumble over the truth, but most of the time he
will pick himself up and continue on'
- Winston Churchill, British statesman and writer (1874-1965)
--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.
This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>