------------------------------------------------------------------
Copyright 2010 Richard J. Gaydos.
------------------------------------------------------------------
Setting Abbreviations and Copying Files from studacct
------------------------------------------------------------------
Setting Abbreviations
------------------------------------------------------------------
Before attempting to copy ANY files, you MUST have the following
as your .login file on your UNIX account:
#! /usr/bin/csh
source /usr/local/login
set history = 10
set savehist = 1
set filec
alias p pico
alias g 'g++'
alias a a.out
alias l ls
alias ll ls -l
alias c cat
alias cr 'cd /home/csis/students/studentsD/studacct'
------------------------------------------------------------------
To make the above lines your .login file, do the following:
1. Keeping this window open, sign on to your UNIX account.
2. On your UNIX account, do the following:
rm .login
pico .login
3. In this window, highlight ALL of the lines from the #! line to
the alias cr line.
4. Choose Copy from the Edit Menu
5. In the pico session, choose Paste from the Edit Menu.
6. In the pico session, choose ^o (Control + o) then
hit ENTER to save as .login then
type ^x to exit.
7. Logout of your UNIX account.
8. The next time you log back in, all the abbreviations will be
in affect.
------------------------------------------------------------------
Copying All the C++ Files from the 2610_C_Class directory on studacct
This assumes you have ALREADY set abbreviations in your .login file!
------------------------------------------------------------------
At any directory level you may use any of the following informational
commands.
pwd to see what directory you are in
l to list what is in the directory
ll to list in the long form
------------------------------------------------------------------
To QUICKLY copy ALL of the files
from studacct's 2610_C_Class directory
to a 2610_C_Class directory on your account
1. Log on to your UNIX account, and be in your HOME directory.
2. Change to the studacct directory:
cr
3. Copy everything from 2610_C_Class to a 2610_C_Class directory
on your account
cp -r 2610_C_Class ~
4. Switch back to your account
cd
Note: Do NOT be alarmed by several ERROR messages, as there are
some files and directories that WILL NOT copy over
to your account!
------------------------------------------------------------------