CS114: Unix Tools
5137 Upson Hall
Office Hours: 3-5 MWF
|Grading||All homework graded on scale of 0-4.
You must maintain a 75% average (a "3") to pass.
|Textbooks||UNIX for Programmers and Users, G. Glass&K.Able,
Prentice Hall, 1999.
Introduction to UNIX, D. I. Schwartz, Prentice Hall, 1999
UNIX in a Nutshell, A. Robbins, O'Reilly, 1999
|Syllabus||2/21-2/25: Read chaps 1-4 in DIS, 1-2 in G&A
2/28-3/3: Read chaps 5-8 in DIS, 2-3 in G&A
3/3-3/10: Read chap 7 DIS; 3-4, 6, 11 in G&G
|5/17||grades are in!||yes, we did finish grading -- the assignments were all very good and got mostly 3s and 4s. The consultants logged the grades on grading sheets but didn't mark the papers. I skimmed thru the entire pile. I will leave it in 303 Upson if you wish to pick up your old work.|
|3/26||partners for project||yes, but it's got to be REALLY good if you have a partner|
|3/17||babbage problems||Please don't email that babbage is or was down. If you aren't able to hand in your HW3 today, you should hand it on Mon 3/27, but you'll be docked 25% for being "1 day" late.|
|grades||We haven't collected info yet. I will post an update on this website. I can't promise that I can respond to email, so please be patient.|
|3/14||bash!||ADM reports that bash is now safe for your default login shell.|
|3/13||Due dates changed||Due to popular demand (from those in lecture), HW3 is due 5PM Friday 3/17. The project is due the Monday after Spring Break (3/27). I will give "bonus points" to anyone who submits anything early.|
|How to submit HW3 and Project||Submit printouts.|
|3/12||HW3 extension||HW3 is now due Weds 3/15.|
|Flow of files||Inside ~dis9/Scripts/: info -> comments -> basic -> variables -> output -> input -> quotes -> commandline -> arithmetic -> exitting -> condition -) (more to come)|
|3/10||free examples||I posted a collected examples inside ~dis9/Scripts/. I'll place the "order" the examples follow in the README file soon. Keep posted -- I will post more examples for the rest of the semester|
|3/9||updates||I've answered a few questions I've gotten in the assignments below. Look for the New portions.|
|3/6||bash||I strongly recommend against choosing bash as your default shell on babbage. You may not be able to log in again. ADM knows about the problem and asks that you not change to bash.|
|3/5||HW2||the filenames you copy into your account must be uppercase. I fixed the assignment below.|
|3/3||syllabus||see the Syllabus above for new readings|
|3/1||HW2||I'm going to extend the due date of HW2 to Mon 5PM, just in case we don't cover enough on file management. You should be reviewing info on copying, moving, changing permissions on files. See also making and changing directories. For DIS, review chaps 3, 5-6, and first half of 8.|
|Write a script for performing a "global mv" called gblmv. This script will change the file extension of every file with a given extension to another extension. For example, if you had 5 files in the same directory with the extension ".java," this script would change each to ".txt" or any other extension the user requests. This script must also handle cases if the user enters the same extension or requests removing all extensions. Use any Unix scripting language you prefer. New: Put the scrip[t in a subdirectory of HOME called HW3. Be sure to set correct permissions. New: check out dirname and basename.|
New: Due 3/27
|End of the semester project:
|HW3||Write a Perl script:
Students may only get 2 chances to activate the script.