$ cd cs21/class # cd into your cs21/class subdirectory $ pwd /home/your_user_name/cs21/class $ mkdir week03 # make a subdirectory named week03 $ cd week03 # cd into it $ pwd /home/your_user_name/cs21/class/week03
Now copy over all the files from my public/cs21/week03 directory into your week03 directory (remember to add the dot as the destination of the cp command). From your week03 directory:
$ cp ~newhall/public/cs21/week03/* . $ ls format.py is_odd.py stars.py starword.py test_math.py
This week we will do some of the following in class:
To open starword.py in vim:
$ vim starword.pyI often run the program in another terminal window (so I can view the program in vim in one window as I run in another window).
$ pwd /home/your_user_name/cs21/class/week03 $ ls format.py is_odd.py stars.py starword.py test_math.py $ python starword.py