Complete the following:
% firebirdGo to the CS homepage (
http://www.cs.swarthmore.edu/). From here click on the "Help" button then "swat cs account info" and read the "Welcome Message", "The User Agreement", and "The CS Lab Rules" pages.
% cd # change current working directory (cwd) to your home directory % pwd # print current working directory % mkdir cs21 # create a new subdirectory named cs21 % ls # list contents of current working directory % chmod 700 cs21 # set permissions on directory cs21 so that only you can cd to it % ls -l # check permissions on files in your home directory % cd cs21 # change cwd to cs21 % pwd # print current working directoryHere is some information about the Unix directory structure.
% vimtutor # starts the vim tutorial % emacs # Select the Help->Emacs Tutorial menu option to start the tutorial # or type CNTRL-h t (hold down the ctrl and h keys then type t)
bio.txtand write a paragraph about why you are taking cs21. Also describe any programming experience you have had.
% emacs bio.txt OR % vim bio.txt
After you are done editing the file, save your changes, exit emacs (or vim), and
ls command to list the the file
cs21handin. You will use
cs21handinto submit all homework solutions for this class. You may run cs21handin as many times as you like, but only the most recent submission will be recorded for each file you submit. This is useful if you realize after handing in a program that you need to make a few more changes to it. Here is some more information on how to run cs21handin. Note: cs21handin will not be ready to run until noon on Wednesday when we have all your user names
pinetelling me that you have submitted your bio.txt file. To run pine, just type
pineat the Unix shell prompt, and then choose the
Composeoption using the arrow keys or by typing
C. Enter your professor's email address (newhall or kuperman) after
To:and your email address after
Cc:. Use the arrow keys to move around. After typing in your email message, hold down the Cntrl and the X keys to send me the message. You can read incoming messages by running pine and choosing the
FOLDER LISTand then
For more information on using emacs, and pine, see our Unix Help pages.
Using Unix II will be offered twice next week. It covers more advanced Unix
that will be useful for this course:
Tuesday, Jan 25, 4-5pm in CS Lab (room 240 Sci. Center)
Tuesday, Jan 25, 7:30-8:30pm