Hi,everyone,
Can I use UNIX command to get a directory size in UNIX ?
I am developing a software using C in UNIX. How can I get the directory size?
Thanks
Harry
Hi,everyone,
Can I use UNIX command to get a directory size in UNIX ?
I am developing a software using C in UNIX. How can I get the directory size?
Thanks
Harry
du
lists how much disk space is used by a file or a directory(as well as subdirectory)in 1K blocks(default).
man du for more info