|
3 | 3 | recommend project-based storage instead of increasing personal |
4 | 4 | quotas. |
5 | 5 | * ``quota`` - print your quota and usage |
6 | | -* ``du -h $HOME | sort -h``: print all directories and |
7 | | - subdirectories in your home directory, sorted by size. This lets |
8 | | - you find out where space is being used. ``$HOME`` can be |
9 | | - replaced with any other directory (or left off for the current |
10 | | - directory). Use ``du -a`` to list all files, not only directories. |
| 6 | +* Finding what is using space |
11 | 7 |
|
12 | | - * ``du -h --max-depth=1 $HOME | sort -h``: Similar, but only list |
13 | | - down to ``--max-depth`` levels. |
14 | | - * ``du --inodes --max-depth=1 $HOME | sort -n``: Similar, but list |
15 | | - the number of files in the directories. |
| 8 | + * The ``dust`` tool prints a nice tree of largest directories. |
| 9 | + ``module load dust`` then ``dust $HOME`` on Triton. ``$HOME`` can be |
| 10 | + replaced with any other directory (or left off for current directory) |
| 11 | + * ``du -h $HOME | sort -h``: Like above but works everywhere. Use |
| 12 | + ``du -ah`` to list all files. |
| 13 | + |
| 14 | + * ``du -h --max-depth=1 $HOME | sort -h``: Similar, but only list |
| 15 | + down to ``--max-depth`` levels. |
| 16 | + * ``du --inodes --max-depth=1 $HOME | sort -n``: Similar, but list |
| 17 | + the number of files in the directories. |
16 | 18 |
|
17 | 19 | * ``rm`` removes a single file, ``rm -r`` removes a whole directory |
18 | 20 | tree. **Warning: on scratch and Linux in general (unless backed |
|
0 commit comments