When you log in in UNIX, you are asked for your login name and password, and then for the terminal type.
 
type "xterm" at the terminal type, or, if you see (xterm) there, press Return.
 
You should now see a UNIX prompt, which usually looks like "machine_name%"
 
The commands I will be telling you about, as well as the commands in the hw instructions, should be typed at the prompt.
After typing the command, press Return.
 
Basic Unix Commands:
 
Name        Command                         Comments
 
copy        cp file directory       use "." for current directory
                                    use ".." for parent directory
                                    use slashes for dir. hierarchies
                                    ex: cp myfile ../sisterdir/childdir
remove      rm file(s)              ex: rm file1 dir1/file2 ../dir2/file3
            rm -r directory         for recursive removing:
                                        unalias rm;
                                        rm -rf dir1
view        more file               hit Space to get to next page
file                                ex: more ReadMe;  more ../ReadMe
 
view        ls; ls dir              ls views current directory
directory                           see "man ls" for ls options
 
change      cd dir                  ex: cd NoNPunctate; cd ..
directory
 
where       pwd                     prints working directory
am I?
 
print       lpr -Pprinter file(s)   ex for Soda: lpr -Plw274 file1 file2
                                        (printer in room 274)
 
Change          telnet po; (login again)
password        passwd (you will be asked to state old & new passwd)
 
logout          logout; exit
 
help            man; man command;       a help directory
                apropos subject         lists commands that have "man"
 
quit
application     Control_C               press control and C at the
                                        same time
 
simple
editor          pico file              see "man pico, vi, or emacs"
                (easy to use,
                commands on the screen) for further help
 
mail            mail;  pine;             
 
In the lab: if you have X-windows (a smaller window appears on a
background):
 
netscape        netscape &            (and-symbol at the end
new window      xterm &                although may show up as ? in certain
                                       Netscape encodings)

you can also get a menu of options by pressing the right or middle mouse key (in the Soda lab)