Study at City
  1. Courses
  2. Applying
  3. Fees and funding
  4. Living in London
  5. Visit us
  6. Student support
  7. International students
  8. Order a prospectus
  1. Short courses
  2. Courses
Study at City

UNIX Tools and Shell Scripting Short Course

Key information

Dates and fees to be confirmed

To be confirmed
To be confirmed
To be confirmed
To be confirmed
Course Code:
To be confirmed
To be confirmed
Booking Deadline:
To be confirmed
To be confirmed

This UNIX Tools and Shell Scripting evening Short Course is designed for those already familiar with UNIX who are looking to develop scripting tools to automate common tasks on a Solaris platform.

Course overview

UNIX Tools and Shell Scripting course covers the following topics:

  • Basic introduction to UNIX-like environment.
  • Strengths and limitations of UNIX shell and tools.
  • Bourne shell (sh), common commands, AWK language.
  • Regular expressions and sed.
  • Bash and its extensions to Bourne shell.
  • POSIX standard and portability of the shell scripts.
  • Common pitfalls, common practices and robustness of shell scripts.
  • Other tools common in UNIX-like systems, e.g. netcat, socat and curl.

The UNIX Tools and Shell Scripting short course is focused on programming and problem solving rather than system administration. However, the skills acquired during the course will be practical for both the programmers, DevOps and system administrators.

What will I learn?

What will I learn?

  • Some basic UNIX concepts: processes, pipes and file descriptors, signals, file system structure, basic security model (permissions, file modes, users, groups).
  • Many common UNIX commands, including more sophisticated tools and their options, e.g. xargs, join, uniq, find, sort.
  • Bourne shell: variables, conditionals, loops, functions, traps, etc.
  • AWK programming language, POSIX regular expressions and sed.
  • Bash extensions: advanced parameter expansion and conditional blocks, arrays (including associative arrays), I/O redirection, etc.
  • Will become familiar with some specialised tools, e.g. netcat, socat and curl.

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

  • Write sophisticated programs using sh/bash/awk/sed.
  • Distinguish Bourne shell dialects and standard/non-standard features.
  • Use shell for solving problems such as tabular data processing and automation.
  • Apply the skills in such roles as DevOps, system administrator, software engineer.



Prerequisite knowledge

Prerequisites: basic knowledge of programming and computing concepts.

Recommended reading

Recommended reading

  • 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