Most users have a very limited amount of filespace on Unix hosts. This can quickly be filled up if you save a lot of email messages or create web pages with pictures in them. This section describes the commands needed to find out how much filespace you are using and to keep it tidy.
To find out how much filespace you have been allocated and how much you have used:
The output is similar to the following:
Disk quotas for xbpab (uid 999):The interesting parts are the usage and the first quota, limit and timeleft columns.
On Unix, as on PCs, files are stored in hierarchical directories (in Windows, these are also known as folders). Your filespace starts with your home directory. You may have a directory within your home directory named "public_html" for personal Web pages. The current directory is known as the working directory.
To list the files in the working directory:
This command lists all the files in the working directory in a long format that includes the size of the file (in bytes).
To list the files in a subdirectory, for example "public_html":
Alternatively, change the working directory by typing cd public_html and then list the files.
To delete a file, for example "fred.html":
If you want to save a copy of the file, transfer it to the PC first. To do this you need to use a file transfer program on the PC. The recommended program is the SSH secure shell client, described in Using SSH secure shell client on a PC to connect to and transfer files to and from a remote site (document ssh-i1).