Skip to content
Skip to navigation menu

Shell and Perl Programming I

Level 5, 20 Credits.

Available Dates:

Not Presently Available.

Get the latest updates on our courses

Please use our subscription page to register your interest, and we will keep you updated on all relevant information and news about subjects you have chosen.

Course Description

This course will provide an introduction to the UNIX operating system, the use of the awk scripts using awk functions to process text data, the use of shell and Perl scripts.  Topics covered in the introduction to the UNIX operating system include a discussion of the file hierarchy, the use of essential file and directory commands, and, finally, file and directory access.  Topics covered in the shell scripting language will include the four phases of shell interpretation, namely, command substitution, parameter substitution, blank space interpretation and filename generation, shell parameters and quoting.  Topics covered in the Perl scripting language include an introduction to mathematical operators and functions, comparison operators and the use of conditional and iterative control statements, use of chop and chomp functions with keyboard input, use of the diamond operator () to read a text file, use of arrays and array functions, use of string operators and string functions, accessing files via filehandles, file tests, logical operators, pattern matching, data validation using predefined character class abbreviations.  Assessed work will include the writing of  scripts.

Who is this course for?

This course is ideal for the student who wants a good general introduction to computer programming.

Learning and Teaching

This module includes a mix of traditional lectures and laboratory sessions. Each meeting starts with a lecture and finishes with a laboratory session.

Coursework and Assessment

To award credits we need to have evidence of the knowledge and skills you have gained or improved. Some of this has to be in a form that can be shown to external examiners so that we can be absolutely sure that standards are met across all courses and subjects.

During the course, you will be given assignments to be submitted to the course tutor. At the end of the course, there will be a class test.

The most important element of assessment is that it should enhance your learning. Our methods are designed to increase your confidence and we try very hard to devise ways of assessing you that are enjoyable and suitable for adults with busy lives.


Reading suggestions

Schwartz, R.L., Phoenix, T. (2001) Learning Perl. O’Reilly & Associates, 3rd edition