Useful commands

From HPC


Each user is given a disk quota of 1TB as a precaution against filling the disks with a runaway job before anybody notices. This does not mean that you should attempt to fill the quota or store old data on the cluster. Please try to regularly remove old, unused data.


Check how much of your quota you've used with the quota -h or df ~ commands.

username@hpc1 ~> quota -h
Filesystem          Size  Used Avail Use% Mounted on
storage2.hpc:/home  1.0T   26G  999G   3% /home


Check how much of your quota you've used with the quota -s command. The -s makes the output easier to read.

username@launch:~> quota -s
Disk quotas for user username (uid 12345678):
      Filesystem    blocks   quota   limit   grace   files   quota   limit   grace
/dev/mapper/vg0-home 5279M   1024G   1100G            3927       0       0

File management

GNU Midnight Commander is a visual file manager. It's a feature rich full-screen text mode application that allows you to copy, move and delete files and whole directory trees, search for files and run commands in the subshell. Internal viewer and editor are included.

Start it with the mc command.

To quit, press F10, or if your SSH client doesn't like that, press ESC followed by 0. All the F-keys can be called in this way, ESC followed by the number of the F-key.