File Types - DAMTP Computing System FAQ

  1. How do I find out what type of file a file is
  2. How do I view a non plain text file
  3. How can I compress a file?
  4. How do I convert a file from one type to another
  5. I'm being warned about my quota
  1. How do I find out what type of file a file is

    The command file will take a guess. Usage file filename

  2. 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.

  3. 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.

  4. How do I convert a file from one type to another

    Different programs for different file types, documented in a seperate file.

  5. 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.