Computational Physics Laboratory PHZ4151C/PHZ5156C
  Spring 2009

  Class Meetings: HCB 0219, Tuesday and Thursday from 2:00 to 3:15 PM

  Office Hours: Wednesday 4:00 - 5:00 PM or upon appointment

  Course Text: David Yevick, A First Course in Computational Physics and Object-Oriented Programming with C++

Unix Navigation and Web Page Design - Part 2

#!/bin/sh
mkdir $1
cd $1
mkdir Dir1 Dir2 Dir3
cp ~/.cshrc Dir1/mycshrc
ls -l /export/home > Dir2/userlist
ls -l /usr/local/ > Dir3/locallist
diff /etc/csh.cshrc Dir1/mycshrc > Dir2/cshdiffs
man diff > Dir3/myDiffMan
ps ax | sort -k4 -n > psSortOnTime
history > myhistory
cd
tar -cvf your_name-$1.tar $1/