command: file size?
What is the command to see the sizes of files?
|
du
I usually do "du -sh" to show just what files/directories you want and give you "human-readable" output instead of size in bytes. |
ls -sh
will give you file size in human readable format you can get more options with man ls ls --help |
Well that's handy. I knew "ls -lh" would do it but never saw "-s". Thanks :)
|
Re: command: file size?
Quote:
ls -lh/-sh filename ... You can find more option in man:) |
Thanks for your responses - I couldn't remember the du command. I had actually looked at the ls man, but I'm too much of a n00b to figure out the "-sh" argument.<g>
|
All times are GMT -5. The time now is 05:57 AM. |