quota -Qs
andy@macomp16:~ $ quota -Qs Disk quotas for user andy (uid 24050): Filesystem space quota limit grace files quota limit grace icnfs-ma.cc.ic.ac.uk:/home/ma 3980M 4883M 5500M 43523 0 0
find $SHOME -type f -name 'core' -exec file {}\;
This will list all the files with the name 'core' in your ICNFS home directory along with its type.
Do not be tempted to modify the command above to delete all files named core! There has long been a convention of reserving the filename 'core' for core dumps but stupidly, some recent commercial programs have ignored this and used this filename for important program files. Also, you are at liberty to name any of your own files 'core' so be careful! Only delete the files that the file utility reports as being a core file, as in the example above - if the file named 'core' is reported as being anything other than a core file, then leave it alone unless you know it can safely be deleted.
To find out how much space is being used by your Mozilla Firefox folder (if you have one), type the following command:
du -sh $HOME/.mozilla
and you may see something like this example:
andy@susie4:~> du -sh .mozilla/ 721M .mozilla/
which shows Firefox has stored 721 megabytes of data hidden within the .mozilla folder.
You can check your Thunderbird folder in the same way:
du -sh $HOME/.thunderbird
and you might see something like this:
andy@purdy32:~$ du -sh .thunderbird 5.8G .thunderbird
Here, Thunderbird has stored 5.8 gigabytes of data in the .thunderbird folder.
As you can see, the disk usage in both these examples is way above the default 400 MB quota allowance you have on your ICNFS home directory.
ctrl-alt-F2
This will switch the screen to a white on black terminal screen with a login prompt. You can now log in using your usual username and password and delete or move files and folders until you have brought your home directory usage down and below your ICNFS quota.
When you have finished, you can log out and then switch back to graphical mode on most systems with:
alt-F7
or, on some Fedora Linux systems, you need to use:
alt-F1
Using ctrl-alt-F2 will work with all systems; 6 console terminals are actually available on most and these can be selected by using ctrl-alt and the function keys F1 to F6; some versions of Fedora and OpenSUSE are a bit different - with Fedora, ctrl-alt plus the keys F2 to F7 select the six text terminals while ctrl-alt-F1 will switch you back to graphical mode while OpenSUSE 13.x uses ctrl-alt-F5 to switch to graphical mode. (There are now dozens of Linux distributions each with their own quirks and too many to list here, so you may have to experiment to find out the key combinations for switching between graphical and terminal modes for your particular Linux. The combinations mentioned here will work with the popular Linuxes such as Ubuntu).
sudo apt-get -y install openssh-server
Research Computing Manager, Department of Mathematics
last updated: 15.02.2021