UNIX File Manipulation

Some Definitions
file
-- the basic unit of storage in UNIX. can be text, a program, a gif (picture), a sound file, etc.
directory
-- a special file where the UNIX system stores information about other files. it's a place to store things, a folder. files and other directories can be contained in directories, you can work in directories.
home directory
-- this is the directory you are in when you first log in. My home directory is at
/afs/rpi.edu/home/35/escobj. It's also referenced as ~escobj.
current working directory
-- the directory you are currently working in, duh! When you first log in, your current working directory (or just ``working directory'') is your home directory. You can change to another directory, in which case, the directory you just moved to becomes your current working directory.
absolute pathname
-- The UNIX file system organizes its files and directories in an inverted tree structure with the root directory at the top. An absolute pathname tells you the path of directories you must travel to get from the root directory to the directory or file you want. In a pathname, delimit directory names with a slash(/). For example, /afs/rpi.edu/home/86/steubg/public/idkfa.wad is an absolute path to the file idkfa.wad which is a cool DOOM wad that my friend Gregg made last year.
relative pathname
-- the pathname of a file or directory relative to your current working directory. Similar to the absolute pathname, you can go through more than one directory level by naming the directories along the path. Use ``..'' to go up the directory tree and use the name of the directory to go down the directory tree.

Some Commands
cd
-- change directory
pwd
-- print working directory
ls
-- list
cat
-- concatenate
more
-- just plain ``more''









OK, Now What?