File Types - DAMTP Computing System FAQ
- How do I find out what type of file a file is
- How do I view a non plain text file
- How can I compress a file?
- How do I convert a file from one type to another
- I'm being warned about my quota
-
How do I find out what type of file a file is
The command
filewill take a guess. Usagefile filename -
How do I view non plain text files
To view a file that isn't in plain text or is an email attachement you need to open it with a relevant program. See the filetypes table to decide which application to use with your file.
-
How do I compress a file?
Use compress, gzip or bzip2. bzip2 normally gives the best compression rate. To uncompress a file use uncompress, gunzip or bunzip2 respectively.
-
How do I convert a file from one type to another
Different programs for different file types, documented in a seperate file.
-
I'm being warned about my quota
If you get an email warning you are close to your quota, act now, don't wait till you have no space left. See quotas and "disk space" for more information.