Use a terminal session to:
/bin/gcc
/etc/group
/var/spool
#!/bin/tcsh if ($#argv != 2) then echo "You must provide two file extensions as arguments" exit endif if (`ls *.$1 |& grep -c "No match"` == 1) then echo "There are no files with the extension .$1" exit endif foreach file (*.$1) mv $file `basename $file .$1`.$2 echo "Renamed $file to `basename $file .$1`.$2" end
mkdir LabTask2 cd LabTask2
mkdir Originals
cd Originals touch HardStuff SoftStuff cd ..
mkdir Links cd Links
ln /home/ugrad/xxxx322/LabTask2/Originals/HardStuff LinkToHardStuff
ln -s ../Originals/SoftStuff RelativeToSoftStuff
mkdir IveGotRights chmod 751 IveGotRightsor, for wimps ...
chmod o=rwx,g=rx,o=x IveGotRightsor, for very wimps ...
chmod u=rwx IveGotRights chmod g=rx IveGotRights chmod o=x IveGotRights