% * The very basics
%     * basic Unix things (see Directories and Files above)
%     * What's in my account?
%        * Public directory
%        * Private directory
%        * www directory
%        * mention of the existence of dotfiles

\section{The very basics}

\subsection{Directories and Files}

\subsubsection{Directories}

Your information is stored in {\tt files}, which are stored in 
{\tt directories}.  Your ``home directory'' is {\tt /mit/} followed by 
your 
username (e.g.,{\tt /mit/username}).  This is where all your files will 
be 
stored.

\subsubsection{Listing, Copying, and Deleting (Removing) Files}

To get a list of the files in the current directory, type {\tt ls}.  To
look at files in another directory, type the directory name after
{\tt ls} (e.g., {\tt ls /afs/sipb}).
To copy a file from one name to another, type {\tt cp} followed by the old
name and the new name (e.g., {\tt cp paper paper-backup}).
When you want to get rid of a file, you can use the {\tt delete} command
(e.g., {\tt delete junk}).
If you made a mistake, the {\tt undelete} command will bring your file
back if you do it within a day or so (e.g., {\tt undelete junk}).

\subsubsection{Moving around}

To change your current directory and move around, type {\tt cd} followed
by the name of the directory you want to go to.  (For example, {\tt cd
/usr/athena}.) If you just type {\tt cd}
on a line by itself, you'll go back to your home directory.

You can create ``subdirectories'' (which are sort of like drawers in a
filing cabinet) by typing {\tt mkdir} (MaKe DIRectory) and the new
directory at the {\tt athena%} prompt.

To check what directory you're currently in, type {\tt pwd} (Print Working 
Directory).

\subsection{Permissions}

Directories and files can have different permissions attached to them, which control who gets what type of access to them.  With a little information about file systems, you can allow other people to read your files or let some people read some of your files, and not others.

\subsubsection{How do I run a file or make it executable?}

chmod +x bar

\subsubsection{}

\subsubsection{How do I do something ever more spiffy?}

For more information about file systems or AFS, please refer to the {\it Inessential Guide to AFS}, also published by the SIPB. 

\subsection{What's in my account?}

Standard subdirectories and files in your directory include Public, 
Private, www, and dotfiles.  These are set up automatically when your 
account is created.

\subsubsection{Public directory}

Your Public directory is set up so that anyone can read its contents.  
However, only you can edit anything inside it.  This is a good directory 
to put files into that you want other users to be able to see.

\subsubsection{Private directory}

Your Private directory is set up so that no one can see anything inside it, 
but you can do anything you want with it.  This is the directory you want 
to use for documents that others shouldn't be seeing.

\subsubsection{www directory}

The www directory is set up the same way as your Public directory.  While 
you can view pages in both your Public and www directories from the 
Internet, the www directory was created specifically to store web documents.

\subsubsection{Dotfiles exist}

If you type {\tt ls} in your home directory, you'll notice that there 
aren't many files other than the ones you've created.  Try typing {\tt ls 
-la}.  Many more files appear, all beginning with a . (dot).  These files 
are known as your dotfiles, and control various settings.  Dotfiles are 
hidden, and are only displayed in a list of files when {\tt ls} is given a 
{\tt -a} flag, meaning display all.  For more information regarding 
dotfiles, please refer to {\it Dotfiles}, also published by the SIPB.

(Dotfiles is in /afs/sipb/project/doc/idotfiles, but it seems to be 
out-of-date)
