weramega.blogg.se

Directory size
Directory size





directory size

To display a sorted list showing the size of each file (only files) in the current directory and (recursively) in all subdirectories, run the following command: find. Use "m" instead of "k" in the "du" command if you want the size reported in megabytes, e.g.

directory size

To display the aggregate size of each file or subdirectory (including hidden files and subdirectories) contained within the current directory, sorted by size (largest first), run the following command: du -sk *. To check the amount of space (in GB) taken up by your home directory, run the following commands: cd ~ du -hs Let's assume you are an undergrad student and your CSENetID is "jouser." If not, you can make the appropriate adjustments to the directory/folder names given below. If you are a graduate student, or have a research account, log into " bicycle". If you have an undergrad or instructional account, use ssh to log into " attu".







Directory size