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

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: