b
UNIX with Shell Programming
Term 4, 2003
]
gray arrow Home
gray arrow Homework
gray arrow Course Information
Class Photo
gray arrow Textbooks
Certification
Mailing List
Class Notes
Links
gray arrow Project
Unix Server
Unix Disks
Trivia Scores
 

News:

  • Final on Thursday

"It was just dumb luck that Unix managed to break through the Stupidity Barrier and become popular in spite of its inherent elegance." - gavin@krypton.sgi.com

UNIX is an operating system that originated at Bell Labs in 1969 as an interactive time-sharing system. Ken Thompson and Dennis Ritchie are considered the inventors of UNIX. The name (pronounced YEW-nihks) was a pun based on an earlier system, Multics. UNIX has evolved as a kind of large freeware product, with many extensions and new ideas provided in a variety of versions of UNIX by different companies, universities, and individuals.

UNIX operating systems are used in widely-sold workstation products from Sun Microsystems, Silicon Graphics, IBM, and a number of other companies. The UNIX environment and the client/server program model were important elements in the development of the Internet and the reshaping of computing as centered in networks rather than in individual computers. Linux, a UNIX derivative distributed as "free software," is increasing in popularity as an alternative to proprietary operating systems. 

This course should prepare you to be a system adminstrator.  You will be installing, configuring, maintaining and trouble shooting a UNIX system.  It is HIGHLY recommended that you obtain a personal copy of UNIX (see resources below), and set it up on your own machine so you can work on it.  I strongly recommend that you obtain a older machine to run your copy of Unix on...

Don't even think about taking this class unless you have taken CMIS 140 It is also HIGHLY recommended that you have taken IFSM 310.
 

Homework 
 
Date # Assignments
Apr 01
01
  • Register for the class
  • Buy the book
  • Obtain a version of UNIX (see below)
  • Sign up for the mailing list!
  • Read Chapter 1
  • Apr 03
    02
  • Read Chapters 2, 3, 4
  • Test Knoppix Linux 3.2 - how many system will they run on?
  • Try to have a Linux/Unix system on your desk!
  • Sign up for the mailing list!
  • Get a SSH client: Putty, or SSH Client from SSH
  • Apr 08
    03
  • Read Chapter 4
  • Try to have a Linux/Unix system on your desk!
  • Create your .plan file in your home directory
  • Apr 10
    04
  • Read Chapter 5, 10, 11
  • Try to have a Linux/Unix system on your desk!
  • Apr 15
    05
  • Exam 1 - 30 Questions, 30 Minutes
  • Read Chapter 15
  • Apr 17
    06
  • Installing Solaris, Web Server 
  • Apr 22
    07
  • Shell Programming! 
  • Your web page online
  • Apr 24
    08
  • Try to have a Linux/Unix system on your desk!
  • Homework: hello
  • Apr 29
    09
  • Homework: mc
  • May 01
    10
  • Homework: lon 
  • May 06
    11
  • Homework: hilo
  • May 08
    12
  • Exam 2 - Programming
  • Homework: contemp
  • May 15
    13
    May 16
    14
  • Homework: et
  • Homework: hello.c
  • May 20
    15
  • Turn in Install Sheets
  • Homework: salary.c
  • May 22
    16
  • Final Exam 
  • Class Photos 
     
    Click here to see
    the class photos!
       
    Course Information
    Textbooks

     
     

     

    • Recommended
    • Books that have been available at the Yongsan/Osan PX/BX - check for them
      • Books
        •  Unix for Dummies
        •  Applixware Office for Linux
        •  Teach yourself Red Hat Linux Visually
        •  Unix Secrets
      • Magazines
        •  Linux Journal
        •  Linux Magazine
    Certification

     
     

     

    Mailing List

     
     

     

    I have set up a mailing list for all the students in the class.  We can use this list to discuss class topics, assignments, problems, tips, etc...  I require all the students to sign up for this list.
     
    To subscribe to the list, send mail to imailsrv@thinairlabs.com
    In the body of the message enter: subscribe cmis325 'your name'

    Remember, everyone can read all messages sent to the mailing list.  Send personal email to bjgleas@aol.com, but any and all class related message need to be sent to the mailing list.

    Class Notes

     
     

     

    You should download and read the lecture notes before class.  The lecture notes are in PDF format, you might have to download a reader for your machine.  Note: You need Version 4.0 or better.  You should visit the websites, and download the programs and run them (many of them are already installed in the lab.) Note: Do not print any of this information in the UMAD computer lab.  Also, the lecture notes may not be complete, and should not serve as a substitute for attending class.
     
    Date
    #
    Notes Topic / Links
    030401
    01
    PDF
    Topic: C1: Introduction to Unix
  • Install: Solaris, Knoppix Linux
  • SSH Client - Putty
  • Port of Linux to PalmPilot
  • Linux on Laptops
  • The Evolution of the Unix Time-sharing System
  • Lion's Commentary on Unix
  • The Unix Philosophy by Mike Gancarz
  • minix.org - more sources for minix stuff
  • Compaq Test Drive - Free 30 day Unix Account
  • Linux Mall - Source for cheap copies for Linux
  • LinuxISO - download ISO images
  • Why Linux should Scare Microsoft
  • Linux+ from Comptia
  • Amazon: Linux saved us millions
  • 030403
    02
    PDF
    Topic: C2,3: Getting Started, Utilities
    Install: Redhat
  • Linux Today - Linux News Source
  • Linux for people who think an iMac is hard to use
  • Lindows
  • MS struggles to discredit Linux
  • IBM Linux Zone
  • IBM Linux FAQ - Really good
  • Linux Newbies - That's you!
  • Dual Booting Linux and Windows 2000
  • Partition Magic (With Boot Magic)
  • Drive Image
  • Ranish Partition Manager 
  • Partitioning Primer - Really Good
  • Bochs IA-32 Emulator Project - run linux inside windows
  • Multi-booting Solaris and other operating systems 
  • The Beowulf Project - Parallel Unix Boxes
  • VisualRoute - Route Tracer with a map 
  • Stupid Unix Tricks 1 - as mentioned in class
  • Stupid Unix Tricks 2 - as mentioned in class
  • Korea migrates 120K civil servants to Linux desktop
  • 030408
    03
    PDF
    Topic: Linux File System
    Install: Mandrake Linux
  • Building a SuSE Linux 7.3 PC from Scratch
  • A Tour of the Linux Filesystem: Part I
  • Linux Directory Structure
  • Internet OS Counter
  • The Linux Counter
  • Free Software in Korea (Part 1)
  • Free Software in Korea (part 2)
  • CHMOD for Palm Pilot, Version1, Version 2
  • CHMOD Program for Windows
  • VB6 Runtime Modules (needed for chmod)
  • MS Office on Linux?
  • Linux is More Geeky!
  • 030410
    04
    PDF
    Topic: Shells, GUI 
    Install: SuSE
  • The History of Multics
  • LPI certification 101 exam prep, Part 2: Basic administration
  • Linux Windows Managers
  • KDE, Gnome And The Media
  • GNOME 
  • The K Desktop Environment (KDE)
  • Linux Documentation Project
  • VMware - Run mulitple OS at the same time
  • Wine - Run windows apps under unix
  • Wabi - Another approach
  • Top 10 Tips for Linux Users
  • The Linux Cookbook - Really cool online book
  • Mounting Filesystems
  • Microsoft: A Little More 'Open' 
  • X-Win
  • 030415
    05
    PDF
    Topic: Exam, Networking
  • Linux for the PS/2
  • PlayStation 2 Linux website
  • US mulls Linux for world's biggest computer
  • MS promotes Linux from threat to 'the' threat - Memo
  • TCP/IP and IPX routing Tutorial
  • How TCP/IP Works
  • IP addresses with examples
  • IP Calculator
  • 030417
    06
    PDF
    Topic: More Networking
    Install: Solaris, Apache
  • The CMIS 325 Home page - We'll set this up tonight!
  • Anti-Hacking premiums 25% higher for Win NT
  • The Apache Web Server and Documentation
  • Apache Web Server Details
  • Solaris Default Processes and init.d Pt. II
  • SunFreeware - precompiled SW for Solaris
  • docs.sun.com - all the manuals you need
  • VisualRoute - Route Tracer with a map 
  • Configuring the Linksys Wireless Card in Red Hat Linux 8.0
  • 030422
    07
    PDF
    Topic: Shell Programming
  • Wine
  • VMWare
  • Win4Lin
  • Red Hat Hard Drive Installation
  • HOWTO: Linux XDMCP HOWTO
  • HOWTO: The Large Disk HOWTO
  • Solaris on Laptops
  • Google Linux Search
  • Google Technology
  • Google Facts
  • Virgin Webplayer
  • Creating programs using the shell
  • Free LINUX CDs!  From PogoLinux
  • 030424
    08
    PDF
    Topic: More Shell Programming
  • UNIX Bourne Shell Programming (Book)
  • Man page for sh
  • Installing Linux and Windows with EZ-BIOS
  • 030429
    09
    PDF
    Topic: Even More Shell Programming
  • Seven Reasons to move from Solaris to Linux
  • R125: UNIX Bourne Shell - a free online course
  • Linux+Solaris HOWTO
  • Sun Help Desk
  • 030501
    10   Topic: Programming
  • Note: No notes tonight, since we have some catching up to do
  • Linux Links
  • 030506
    11
    PDF
    Topic: Programming
  • LILO, Linux Crash Rescue HOW-TO
  • RFC 1918 Address Allocation for Private Internets
  • Information about the fdisk command
  • Installing the Solaris[tm] XFree86[tm] Video Drivers
  • Sun / Solaris CSA Sample Questions
  • Man page for csh
  • A Summary of the C Shell
  • 030508
    12
     
  • Topic: EXAM, More Programming
  • 030515
    13
    PDF
    Topic: C12, 13: Korn Shell and Programming Tools
  • Install: gcc compiler on Solaris
  • New Linux Tutorials
  • Linux Storms Hollywood
  • comp.lang.awk FAQ
  • A User's Guide for GNU Awk
  • A User's Guide for GNU Sed
  • DOS-Win to Linux How To
  • GCC How To
  • Learning the GNU development tools
  • 030516
    14
    PDF
    Topic: C14: System Administration
  • Install: Kylix
  • Kylix: Delphi for Linux
  • LinuxLinks.com - 7000+ Linux Links!
  • LinuxOS.org site
  • Unix Sysadm Resources
  • Pocket Linux - for the Vtech Helio and Compaq IPAQ
  • 030520
    15
    PDF
    Topic: Unix Security
  • System Administration Articles & Tutorials
  • Linux Archives
  • LinuxApps
  • Free Training : Advanced Linux/Unix
  • Risks List  Risks in the Computer Age
  • AntiOnline  A website for hackers
  • NIST Computer Security Resource Clearinghouse 
  • NSA Handbook
  • Linux IP Masquerade Resource
  • Linux Firewall On A 486: For Your DSL Or Cable Connection
  • Linux Firewall and Security Site
  • Linux IPFW Firewall Design Tool
  • 030522
    16
    PDF
    Topic: Final Exam
     
    Links

     
     

     

    Project: Installing Unix 
     
    During the course of the term, you will be required to install at least 4 different versions of Unix outside the class (one every two weeks).  You will be required to install at least 3 of them in the lab.  The remaining one can be the one of your choice, installed on your personal machine.  Only fully networked, GUI based versions will be allowed.

    WARNING: Don't wait till the last moment - there are a lot of people taking this class, and for most of the installs, you will need machine number 3 ONLY.  Each install will take between 1 and 2 hours.

       
      Type of Install Versions
      Repartition - Pick Any 2 + Solaris
      These DO have to be connected to the network.
      Configure as Dual Boot between Windows and Unix
      Free BSD
      Mandrake
      Redhat
      Solaris - required
      TurboLinux
      Caldera
      SCO Unixware
      SuSE
    All students will be required to install Solaris.  You can then choose 2 other installs.

    If there are other versions you would like to install contact Mr. Gleason.

    This is the installation worksheet.

    Once you have completed the install, show it to the lab monitor, displaying the class page on Netscape.  Once you have completed that, you must then remove Linux from machine number 5.  There is no partial credit.  The lab monitor will not sign off if it dosn't work.

    We will be demonstrating all of these in class.

    Our UNIX Server
     
    Our UNIX server is up and running!  You can telnet to it - it is running Solaris 9.  It is located in the UMAD Computer Lab.  You won't be able to access it unless you have an account and password (we will set them up on Thursday).  You will also be able to log onto the system via any of the machines in the lab, as well as from home.  Our IP address is 210.96.173.184
    To see if you can reach it, open a DOS windows, and try these commands:
    • ping 210.96.173.184
      • This will tell you if you can reach it
    • tracert 210.96.173.184
      • This will show you the route to the system
    • For security reasons, telnet is disabled.  You will need a SSH client to access the system. SSH Client - Putty
      •  
    UNIX Disks in the Lab 
     
     
    Versions
    In Lab Machine 3
    Solaris 9
    Redhat 8
    Mandrake 9
    SuSEs
    On Your CD
    Knoppix 3.2
    Trivia High Scores
     
    This counts for nothing, but is just for fun...
     
    #
    Name
    7
    Green, Tim
    3
    Holcomb, Marie
    3
    Jung, Dong
    1
    Kelly, Justin
    3
    Kim, Dae
    7
    Lee, Dong
    5
    Muller, Jay
    6
    Nelson, John
    3
    Reveles, Victor
    2
    Robinson, Jamie-Lynn
    5
    Robinson, Shane
    4
    Windor, Richard