CSC 105 Introduction to Linux

Weber/Spring, 2014

Syllabus Announcements Assignments Examples Resources


Old announcements


A5: due 2/27
Write a shell script that will take two parameters.  The first parameter will be a user name and the second parameter will be an email address.  The script will send a mail message to the email address if the user is logged in.  Call the shell script  Send me a copy of as an attachment to an email (you don't have to use the at command for this!) This script is meant to be used with the at command so that the system will run it at certain times.  One last part of the assignment is to use the at command to submit the script with the parameters weberk and so that it will be run at 6 am on Friday, Feb. 28.
A4: due 2/20
Add commands to the appropriate startup script so that on Tuesdays and Thursdays, between 9 am and 11 am, when you execute a bash shell, it will set ~/CSC105 as the current working directory, and on other days the current working directory will be just ~.  For 2 points extra credit, narrow the time range to 9:20-11 am.  When you are done, send me an email telling me, in the message body, the exact location of your script, with a copy of your shell script attached.
A3: due 2/11 2/13
Do problems 14 and 15 on p. 368.   We will do problem 13 in class; you can use it as an example.
A2: due 2/6
Use one of the utilities described in chapter 3 to find the directory on weberklinuxfac that has an empty file named your last name.  For example, I would use the utility to find the directory containing the empty file named Weber.  Once you find that directory, use the tar utility to create a gzipped tar archive of that directory.  The name of the tar archive should be your last name with a file extension of .tgz.  For example, I would create a tar archive named Weber.tgz.  Send me your .tgz file as an email attachment.
A1: due 1/23
Demonstrate to your instructor that you have successfully installed a version of Linux on either an actual notebook computer or virtual machine (must be "full install"), or have installed a "live CD" version on a USB drive.