The menu bar at the bottom of your screen on Athena functions similarly to a Windows Task Bar, and the button labelled "Menu" functions like a Windows Start Menu. The four buttons corresponding to "Mail," "WWW," "Prompt," and "Emacs" are the Unix equivalent of the "Quick Launch" bar. When you minimize applications, they will show in the task list just like in Windows. To run a program, simply type the name of the program. For example,
athena% pine
To run a program in the background, type the name of the program
followed by &
. For example, athena%
mozilla &
Running a program in the background allows you to continue to use your
prompt after the program launches. If you do not use the
&
, then you cannot type any more commands until you close
the program you launched.
If you are running a text based program that uses the entire terminal
window, such as emacs
, pine
, or
owl
, or asks for user input, such as less
,
however, you should not use &
.
gnome-terminal
. If you want to change its settings,
including the font, go to Settings->Preferences (for Linux) or
Edit->Current Profile(s) (for Solaris).
If you want to use a different style of terminal, you can type
athena% xterm &
If you like this style of terminal and want to have it as the default
for when you log in, you can add set skip_initial_xterm
to your .environment
file and xterm &
to
your .startup.X
file. You may have to create these
files; they should go in your home directory.
If you also want to change the "Prompt" button on your GNOME panel
(the bar at the bottom of your screen), you can right click it and
select "Properties..." Replace the text in the box labeled "Command:"
with xterm
.
athena% cd directoryname
Keep in mind that you can move as far down the directory structure as
you want with one cd
command (cd is short for "change
directory"). For example, if you wanted to access a directory called
"resume" in your Public directory, you can type
athena% cd Public/resume
from your home directory. If you now wanted to go back to your Public
directory, you can type
athena% cd ..
to move up one level in the directory structure. You can also type
cd
to return to your home directory.
To make a new directory in the current directory, use mkdir
directoryname
.
athena% emacs stupid
hit Tab, and if you have no other files whose names begin with "stupid" Unix will complete it:
athena% emacs stupidlylongfilename
If there are two or more valid completions, Athena will list them for you.
athena% cp pathoffile destinationpath
For example, if you wanted to copy a file named "foo" from your Public
directory to your home directory, you can type
athena% cp Public/foo .
from your home directory. (The dot at the end is notation for the current directory.)
To move a file, type
athena% mv pathoffile destinationpath
and to rename a file, type
athena% mv pathoffile newfilename
delete
command.
athena% delete filename
This will mark that file for deletion; it will be renamed .#filename.
You should be aware that the system will automatically remove marked
files periodically. You can list the files that have been marked by
using the command lsdel
. To recover a marked file, you
can undelete
it.
athena% undelete filename
If you want to immediately delete a file, you can type
athena% rm filename
To remove an entire directory, type
athena% rm -r directoryname
If OldFiles has already been updated, there is still hope. You can email afsreq@mit.edu with the full pathname of the file and the approximate dates that it existed on disk. If you're lucky, they should be able to recover it for you from back up tapes.
athena% add lockername
will add
the locker for your current login session. This
means that you don't have to enter the entire path for the program;
you can just type
athena% programname &
Adding the locker is convienent if you expect to access multiple files
and programs in the locker. However, if you only want to run one
program from a locker and not bother with adding lockers, you can type
athena% athrun lockername programname &