UNIX - Level II - CMP029

UNIX power users often find that software freely available for UNIX rivals commercial offerings for Windows in both quality and stability. This intermediate course in the UNIX operating system is designed to provide users with tools to work more efficiently in this environment. This includes an introduction to advanced utilities, regular expression patter matching, writing shell cripts to automate commonly performed tasks, and graphical user interfaces using the X-window system.

Prerequisites: UNIX Level I or equivalent experience

Technology update: Please bring a Flash Drive/Memory Stick 512MB or larger to class which will enable you to save your class work.

Textbook:

Books may be purchased at the MC Bookstore or online. You will need to know the CMP#(Continuing Education classes) for the class you are taking in order to look up information about the textbook.

Classroom Hours: 12

Course Content:

1. Introduction

a. Understand the history and applications of UNIX and how it has influenced modern operating system development
b. Log in to an existing account and change passwords
c. Call up UNIX online help in the form of manual and info pages
d. Access additional information and resources for UNIX

2. The UNIX filesystem

a. File tree structure
b. System and user directories
c. Navigating the file system (cd, ls)

3. File pathnames

a. Valid and recommended filenames
b. Hidden files – definition and use
c. Absolute and relative pathnames
d. Creating and deleting directories (mkdir, rmdir)

4. File manipulation

a. Moving, copying, and renaming files (mv, cp)
b. Deleting files (rm)
c. Copying and removing subtrees
d. Create and use symbolic links

5. File information and content

a. Examine text files using common utilities (head, tail)
b. Page through text files using more and less
c. Determine file types using the file command.

6. File access permissions

a. UNIX file security model
b. Access categories and permission modes
c. Displaying file permissions
d. Changing file permissions (chmod)
e. Setting file permission creation mask (umask)

7. Shell variables

a. The shell is a programming environment
b. Setting and displaying variables
c. Process, local, and exportable variables
d. Exporting variables to child processes

8. Shell command line interpolation

a. Order and sequence of command line components
b. Wildcard characters, quoting expressions

9. Input and Output (redirection)

a. STDIN, STDOUT, and STDERR
b. Redirection of input and output

10. Pipelines

a. Using pipes to connect processes via I/O
b. Building filters using pipelines
c. Common filter commands: tee, sort, grep

11. Editors

a. Using the vi editor
b. Using the emacs editor
c. Other editors (jed, jot, nedit)

12. Customizing your login session

a.System and user configuration files
b. Display and set terminal characteristics (stty, reset)

Printing

a. lpr, lprq, lprm, lpc
b. Printing files
c. Query the print queue
d. Cancelling a print request
e. Print filters (mpage, nenscript)

14. Advanced file utilities

a. Finding files – find/locate
b. Search for text in files – grep
c. Compression – compress, zip, gzip, bzip2
d. Archiving – tar and cpio

15. Networking basics

a. Basic TCP/IP concepts
b. Basic utilities (ping, telnet, ftp, finger)
c. Determining network hostnames and addresses (nslookup, dig, host)
d. Write and talk
e. Electronic Mail