# How do I attach a file to an e-mail message?

## In Zimbra Webmail:

1. Click on New Message on the left-hand side of the screen
2. Type the e-mail address you want to send to on the To: line
3. Click on Attach on the left-hand side.
4. This will bring up a window where you can browse your folders and select the file(s) you want to attach. When you done selecting the file, click on the Open button. (Alternatively, you can drag and drop file(s) to the Attach section)
5.  You will see the attached file in the Attachments section of the e-mail.

# How do I create a PDF (Adobe Acrobat) file from a dvi or PostScript file?

To create a pdf from a PostScript document (ps), use ps2pdf

user@surrey[1015]: ps2pdf test.ps
user@surrey[1016]: file test.pdf
test.pdf: PDF document, version 1.2


To create a pdf from a TeX, use pdftex or pdflatex

# How do I determine the filetype of an unknown file?

Use file to determine the type of a file. For example, you receive the file unknown from another user and you want to know sort of file is unknown.

file unknown

unknown:    JPEG image data, JFIF standard

file returns that unknown is a Jpeg file, you can view jpeg files with xv

Note: file is found at /usr/local/bin/file

# How do I make an archive of many files or a directory?

The Tape Archive program (tar) is used to create a single file from many files. Tar files are not smaller (compressed) than the original files, they are the union of all files archived. To compress tar files, use gzip or compress after creation.

Creating
Assume the current directory is called alpha and contains the files: abc; def; ghi; and jkl
To make a tar file of abc and def called mytar.tar you would type the following: