MCT122 - Advanced UNIX

Outline info
Last revision date 2018-07-20 11:58:41.443
Last review date 2018-07-20 11:58:51.135

Subject Title
Advanced UNIX

Subject Description
Building on the basic concepts of UNIX systems, this subject provides a more indepth study of the most popular UNIX shells, including a comparison of Bourne, C Shell and Korn shells. Further text manipulation commands, and advanced system commands and concepts will be introduced and applied through hands-on practice.

Credit Status
 This subject is part of the UNIX/LINUX System Administration Recognition of Achievement program.

Learning Outcomes
Upon successful completion of this subject the student will be able to:

1. Write shell procedures using the full power of the vi editor.
2. Understand more about pipes.
3. Use the utilities to enhance operation and functions of the system.
4. Create a functional script as part of a class project.

Cheating and Plagiarism
Each student should be aware of the College's policy regarding Cheating and Plagiarism. Seneca's Academic Policy will be strictly enforced.

To support academic honesty at Seneca College, all work submitted by students may be reviewed for authenticity and originality, utilizing software tools and third party services. Please visit the Academic Honesty site on for further information regarding cheating and plagiarism policies and procedures.

All students and employees have the right to study and work in an environment that is free from discrimination and/or harassment. Language or activities that defeat this objective violate the College Policy on Discrimination/Harassment and shall not be tolerated. Information and assistance are available from the Student Conduct Office at

Accommodation for Students with Disabilities
The College will provide reasonable accommodation to students with disabilities in order to promote academic success. If you require accommodation, contact the Counselling and Disabilities Services Office at ext. 22900 to initiate the process for documenting, assessing and implementing your individual accommodation needs.

MCT 120 and hands-on UNIX experience. 
(It is recommended that students complete MCT124 first prior to taking this course to gain the hands-on experience) 

Topic Outline

UNIX Shells

  • What is Shell
  • What are Shell Scripts and how are they run
  • Types of Shell
    • Bourne Shell 
    • C Shell 
    • Korn Shell
  • Startup files for Bourne, C and Korn Shells and how they work
  • Shell command Line Parsing
  • Lab 1:  Unix Shell

Text Manipulation Commands 
  • Sort 
  • Grep 
  • Cut 

Shell Variables and Command Files

Basic Shell Commands

  • For 
  • Case 
  • If 
  • Text 
  • Expr 
  • While, until 
  • Read

Advanced Shell Commands
  • Trap 
  • && and || 
  • Grouping Commands 
  • Eval Arguments
  • SED

Mode of Instruction
Classroom instruction and extensive hands-on experience will be provided with each participant having exclusive use of a computer.  

Prescribed Texts
The following course materials will be provided:
Unix Shell Programming  3rd Edition
A Manual provided by Seneca College 

Required Supplies

Promotion Policy

Grading Policy
A+ 90%  to  100%
A 80%  to  89%
B+ 75%  to  79%
B 70%  to  74%
C+ 65%  to  69%
C 60%  to  64%
D+ 55%  to  59%
D 50%  to  54%
F 0%    to  49% (Not a Pass)
EXC Excellent
SAT Satisfactory
UNSAT Unsatisfactory

For further information, see a copy of the Academic Policy, available online ( or at Seneca's Registrar's Offices.

Modes of Evaluation
This subject is part of the UNIX/LINUX System Administration Program.  Those students choosing to pursue their UNIX/LINUX Recognition of Achievement are required to write a final exam at the completion of this subject.  A mark of 70% or higher is required in the exam in order to apply this subject to the Recognition of Achievement Certificate. 

Approved by: Denis Gravelle