COMP SCI  370 Linux Systems Programming -- Fall 2007

 

Professor:  William Shay   Office:  MAC C308   Phone:  465-2316/5038

 

Click here to get the course syllabus

 

Click here to get the course policies


During the semester I'll make a number of things available through this site. Specifically, you'll have access to bash-shell scripts, PHP/MySQL scripts, and C programs that I will demonstrate during the semester.  You will be able to download them directly to your Linux account if you map your Linux directory to a network drive. To do that,  follow the steps below.

If you don't see the links now, be patient, links will be established as the semester progresses.

The files you download have been tarred and compressed. This is Linux terminology for combing multiple files into one file and then compressing it. It's the same as winzip except it's done with Linux utilities. In order to extract the original files, enter the following commands at the Linux shell prompt:

If you're interested in how I created the tarred and compressed files initially, I entered the following commands:


NOTE: At this point, I am not sure which files we will cover in class, although I will cover most of them. That will depend on how much time it takes to get through them. I will also likely make some minor changes to some of these programs as we progress through the semester. When I do so, I will let you know so that you can re-download them.


I've tarred and compressed an html document and a C program which, together, simulate part of what a search engine does. The html document allows you to enter a search string. When you click on the submit button it will call a compiled C program that will return a number of links, depending on the search string you entered. Make sure both are in your public_html directory. Also, compile the C program to an executable named search.cgi and make sure the executable file has 701 access privilege. Download the two files here.


Here is a zipped file containing a Visual Studio .NET solution. It represents a client side of a client/server application that uses sockets to let the client (run in the .NET environment) and a server (running in Linux) exchange some messages. The server portion of this application resides in the previously downloaded compressed file containing various C program demos. This will show you how to set up communications between programs running on different machines.


If you have any questions or need to contact me, please send email to Bill Shay at the University of Wisconsin-Green Bay

Last update on: Thursday, November 29, 2007 August 8, 2007 3:09 PM