#snd.XXXX#in the directory /tmp. To find it, do
find /tmp -user username -name \*snd\* -print
sweetquotaon the Leland system, or
quota -vfrom CSLI accounts. If you're over quota, this will also tell you how much time you have to fix the problem. The numbers are shown in kilobytes, i.e. 2000 means 2 megabytes. There are two things you can do to reduce the amount of space you're using - compress files, using
gzip, or delete them.
gzipgets files down to about half their original size, but it depends very much on the size of the file and the nature of the contents (large text files compress best). There are other tools for this purpose, too (e.g.
compress), but gzip usually gives the highest compression rate. It produces files with the ending
.gzappended to the original filename. You can use
gunzipto uncompress the file again, or
gzcatto just look at it.
Here's an alias I find useful for finding the
biggest non-gzipped files, i.e. the ones
that would improve the situation most if you gzip or delete them:
alias rslsgz 'ls -Ral | grep '-' | grep -v '/' | grep -v '.gz' | sort -rn +4 | more'
This will look through all your directories and list your files by
size (in bytes), the biggest one first. If you can't remember where the file is
you'll have to use
to find it.
Another way of finding big files is using the command
du -a | sort -rn | more It lists all your files with
their size, ordered by size (in 512-byte blocks). The advantage is
that you'll see which
directory the files are in. Also try
du -s, which
gives you the total for the current directory. If you do it while
you're in your home directory and it doesn't roughly match with the
quota -v you probably have files somewhere other
than in your home directory. For example this may be your incoming
mail, if it's stored on the same filesystem as your home directory. If
the difference is big and you want to find out what causes it, try
find / -user username -print
Files that you can probably remove are those ending in
.ps - these are the
results of running LaTeX and can be reproduced if you have the
.tex file. They also tend to be
large, so worth removing. You can also remove all files ending in
~ - those get created as backup copies when you're
editing a file in emacs, so they're just old versions of your files.
If you're using
netscape on turing directly, look at
.netscape/cache - it probably
contains a large number of large-ish files. You can remove all of them
- these are copies of the pages you looked at when surfing the web. If
you surf the web a lot, your
.netscape-history may also have gotten large.
These determine which links get marked as having been followed, so
this information will be lost if you delete them.
Also check your
.newsrc file. It may contain large
numbers of unsubscribed newsgroups, which you can delete, either by
editing the file directly, or by using
If you use mosaic or netscape to read news, they may have created
Another place to look for files you might be able to delete is those
you haven't looked at in a long time. Do do that, use
Also look at help cleanup.
Sometimes the space problems may not be with your quota but with the
whole filesystem. To see how full it is, type
You can improve the situation by sorting your own files and reducing
your disk space usage, but you may not be able to fix the problem for
very long. Send mail to
action if this is
happening and you suspect you're the first person to notice (because
it's the middle of the night or so).