UNIX Tools and Shell Scripting  Short Courses

For those already familiar with UNIX, this fast-paced UNIX Tools and Shell Scripting course covers aspects of administration and the use of UNIX scripting tools to automate common tasks on a Solaris platform. Beginning with a revision of commonly used administrative commands, the course looks at the scripting tools such as bourne shell programming, awk and regular expressions. Students will learn file permissions and the fundamentals of shell programming, input and output redirects as well as inter-process communication. Topics covered include writing scripts to add new users, modification of scripts that start services during booting, mounting NFS volumes, UNIX and networking protocols, basic UNIX security and strategies for backup and recovery.

Course Information

Start DateStart TimeDurationCostCourse CodeApply
Wednesday 23 January 2013 18:30 - 20:30 10 weekly classes £390.00 CE2572 Enrollment Closed

Tutor Info

Robert Stephenson is a visiting lecturer at London Metropolitan University. He has a BSc, Mathematics and Computing (UNL) and MSc, Data Communications, Networks and Distributed Systems (UCL).

Eligibility

Basic knowledge of a programming language and experience of networked IT environments.

What will I learn?

  • Revision of basic and frequently used Unix commands - ls, cp, ps, cat, sort, find, chmod etc.
  • Overview of the main programming tools available to the Unix administrator: the programmable Unix shell, sed and awk. The importance of the programming tools to the Unix administrator - the automation of regular administrative tasks
  • Writing Bourne shell scripts (programs). Creating scripts using the built-in commands as building blocks. Making scripts executable. Controlling the way Unix executes shell programs
  • Writing versions of the built-in commands - e.g cat
  • Inter process communication using pipes. Standard input and output and using redirection
  • Introduction to basic programming techniques - iteration and the use of conditional expressions. Processing command line arguments and other lists. The test command. The expr command
  • Review of some scripts of particular importance to administrators - a script to add users to the system, scripts that control the user's environment
  • The init process and its importance. Introduction to the way Unix creates processes - parent and child processes
  • Run levels and the scripts that control the movement between run levels
  • An overview of the architecture of TCP/IP. RPC (Remote Procedure Call). Systems that use RPC - the Network Information System (NIS) and the Network File System (NFS)
  • How to integrate local and remote files into one file hierarchy - NFS and the fstab file
  • How NIS provides an alternate way of administrating a Unix system. Advantages and disadvantages of using NIS

By the end of the course, you will be able to:

  • understand how to write Bourne shell scripts, using basic programming structures (conditional statements, iteration)
  • identify elements of the awk and sed programming languages
  • be familiar with some of the key elements of the work of a Unix administrator.

Recommended Reading

Frisch A., (2002) Essential System Administration, O'Reilly UK

Kernighan B.W. and Pike R., (1984) The Unix Programming Environment, Prentice Hall

Dougherty D. and Robbins A., (1996) sed and awk, O'Reilly UK

Application Deadline: