Course code Title Language Price # Unit Startdate Hour Enddate Location Signup
SOL004 Solaris Utilities and Shell Programming on your request on your request Contact Us

Solaris Utilities and Shell Programming

Solaris Utilities and Shell Programming


Course code: 
Time Unit: 

This three-day course is meant for power users and administrators who wish to learn more of the general purpose Solaris/UNIX utilities, and be able to automate tasks by writing shell scripts using the Bourne, Korn and Bash shells. This course not only teaches you the utilities and programming skills, but also provides many examples of useful shell scripts. A further important aspect is that you will be able to readily interpret existing scripts



Review of shell facilities
•Redirection and Piping of output and errors.
•Command History and command line editing.
•Metacharacters (wild cards).
•Shell Variables and user profile configuration.

Regular Expressions
•What are regular expressions?
•Commands that use regular expressions.
•Special characters in regular expressions.
•Examples of regular expressions used with the grep utility.

Solaris utilities
•Utilities for manipulating data, generating reports and much more (gawk, grep, sort, sed, cut, tr).
•Utilities for examining and converting data (dd, tar, mt, od, what, strings).
•Utilities for hunting around (find, which).
•Using cmp, diff and comm for comparing files and directories.
•Compression utilities compress, zip, gzip, bzip2, etc.

Advanced vi
•Review of basic vi use.
•Using the more complex and powerful facilities of the vi editor.
•Moving blocks of text.
•Recovering previous deleted lines.
•Placing markers in text.
•Running Solaris commands from vi.
•Setting and saving options.
•Using ex commands for rapid repetitive changes.

Bourne, Korn and Bash Shell Programming
•A simple shell program.
•Execution of Scripts.
•Script debugging.
•Run time arguments.
•Input from the keyboard.
•Shell variables and special variables.
•Arithmetic facilities.
•Control and Loop statements (if, for, while until, case, select).
•Functions in scripts.
•Catching interrupts with trap.
•Script organisation.
•(Practicals include interpretation of existing scripts as well as writing new scripts).

Techniques and practical tips for good scripts.
•Use of absolute & relative paths.
•Passing data between commands.
•Useful special files and directories.
•Labelling your output.
•General best programming practices.

Overview of System Administration
•Pointers to performing administration tasks on Solaris including:- Solaris configurations & hardware support.
•System administration functions & procedures.
•How is administration carried out?
•System Administration tools.



Experience of Solaris or UNIX