For more information about Unix, look at the
Challenge Help
page that is available online.
Unix Lab Exercises
Logon to mode (mode.lanl.k12.nm.us)
At the mode:~> prompt, create a directory called examples
and change to it
mkdir examples
cd examples
Copy the files bacteria.f, sample.c and sample.f from
the directory /usr/local/scc/examples into your examples directory
with the following commands
cp /usr/local/scc/examples/bacteria.f bacteria.f
cp /usr/local/scc/examples/sample.c sample.c
cp /usr/local/scc/examples/sample.f sample.f
List the files you have with ls
Look at the files you have with cat or more
cat bacteria.f
cat sample.c
more sample.f
Compile the C++ program with CC sample.c (those are 2 capital "C"s) and run it by entering
a.out
Connect to the pi machine (pi.lanl.k12.nm.us) by entering pi
Change to the examples directory with cd examples
Compile the bacteria program with f90 bacteria.f -o bacteria.x then
run it by entering bacteria.x
Compile and run the sample.f program.
Remove the a.out file created from mode with rm a.out
Logout of pi to get back to mode with logout
Check the Bulletin Board by entering bbs
Change to your public_html directory by returning to your home
directory with cd then cd public_html
Edit your web page pico index.html and replace the generic
information with your information.
If you regularly read mail on an account other than your Challenge
account, please create a file called .forward that contains
your other email address. Make sure you test it.
One of your team members needs to edit the abstract0001.shtml file that
is located in everyones directory with your team's information and
once that is complete and spell checked, submit it to the Challenge
staff by entering submit abstract0001.shtml
Using pine, send mail to your team members to establish a time this
week to discuss what you learned at Glorieta.
Use the man command to learn about some of the options to
the ls command, enter man ls