PUMAdb : Working with files in UNIX

Your session is inactive. Login


Contents


Description

This page explains some basic UNIX commands. While using UNIX, you can get help by typing man -k keyword at the prompt. This lists the commands relevant to the keyword. There are many good UNIX books out there, and many people in the lab are pretty UNIX-savy, so ask around if you have questions. There is also the following website for further information.

Definitions

A UNIX pathname specifies where a file is located on the unix system. This is analogous to a folder on a Mac or PC. An example of a UNIX path would be "/home/users/sammy", the home directory for the user "sammy".

Files (such as .dat, .gpr, .sag, .tif, etc. files) are located in directories. If sammy had a .dat file called 123.dat in his home directory, it could be refered to in Unix by its full path, "/home/users/sammy/123.dat". The full path is basically an unambiguous address for a file or directory.

Directories

Moving Files

Deleting Files

Compressing Files

Viewing Files

Printing Files