If your home directory is full and you can't find what is taking up all the space, it's possible the culprit is a hidden file or directory. Hidden objects are used for storing libraries, cached singularity/apptainer objects, saved R session, anaconda environments, configuration files, and more. It's important to be careful with hidden, or "dot", files since they often control your environment and modifying them can lead to unintended consequences. To view the sizes of all the objects (including hidden) in your home, one quick command is du -hs $(ls -A ~) , for example: Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| [netid@junonia ~]$ du -hs $(ls -A ~)
32K Archives
192M bin
4.7G Software
46M .anaconda
1.9M .ansys
4.0K .apptainer
16K .bash_history
4.0K .bash_logout
4.0K .bash_profile
12K .bashrc
20M ondemand |
Clearing out unwanted objects, moving data to a location with more space (e.g. /groups or /xdisk), and setting setting different defaults for data storage (e.g., resetting your apptainer cache directory or setting new working directories for Python/R) can help manage your home's space. |