Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Volet

a) Check your home quota with the command:
        quota
    You will, for example, get something like this:
    
    Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
    nas24-10:/nethome/sca
               226388* 200000  250000 49652days    4161       0       0
    
    This means:
        - currently you are using 226388 kB. The '*' indicates you are over your quota
        - your quota is 200000 kB
        - for some time you can use up to 250000 kB


Volet

b) Find your large files and directories
         du -hsc

~/

.[a-z]*  *
or to just find the big files/directories (and a few others that contain the letter 'M'):
         du -hsc .[a-z]*

~/*

  * | grep M

Start in your home directory and then descend into the large subdirectories until you find the big files.


Volet
c) (Re)move files and directories
       1. Remove whatever you do not need anymore. (this is a form of infinite compression)
       2. Put whatever does not need to be in your home under your data space. (e.g. /snow /zwack ....)
       3. Use /extras/$USER
            Move large software directories like .local, .cache, .python, etc. to /extras/$USER/
            to move directory abc  :
                cd $HOME
                mv abc /extras/$USER/.              # move the directory
                ln -s /extras/$USER/abc abc      # create a "soft link" in $HOME
            cd $HOME/abc will still bring you to that directory but will not affect your HOME quota

...