How do I check the size of a directory in Unix?

Trung Minh

New member
How do I check the size of a directory in Unix?
Answer
How can I find the size of files and directories on UNIX. just enter du -sk without an argument (gives size of current directory, including subdirectories, in kilobytes). With this command the size of each file in your home directory and the size of each subdirectory of your home directory will be listed.
 

Tìm kiếm

Back
Top