Solaris Utilities and Shell Programming — A 3 day course
This three-day course provides a follow-on from the Introduction to Solaris course 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.
This course, combined with the Solaris Introduction course, provides preparation for the Oracle Certified Associate, Oracle Solaris 10 Operating System (1Z0-876, was CX-310-105) exam. Further courses lead to administrator certifications.
Each student will have exclusive use of a Sun workstation for the duration of the course.
Each student will be provided with a full set of training notes relating to the course, and quick reference cards to assist with file editing and Unix commands.
Each student leaves the course with their own set of training notes for the material covered; around 120 pages per day of training.
This course covers Solaris running on both Sun and Intel hardware. More than 90% of the material is also applicable to other versions of Unix and our tutors will be able to advise which features are Solaris-specific as they present the course.
To train those who know a little Unix more of the "nuts and bolts" of Solaris so that they will make good power users, and have the tools at their command to become excellent administrators and applications support technicians.
We offer an extensive range of Solaris courses. If you are responsible for looking after day-to-day administration, you may be interested in Solaris 10 Administration Part 1 and Solaris 10 Administration Part 2.
For those involved in administrating networks, our Solaris 10 Network Administration course would be ideal, and leads to the Solaris Certified Network Administrator CX-310-302 exam.
Experience of Solaris or UNIX similar to the level covered in our Introduction to Solaris course.
This course has been retired and is no longer available.
Review of shell facilities
- A recap of Redirection, piping, history, aliases, metacharacters, command line editing, shell variables, dot files, etc.
- Commands that use regular expressions
- Special characters in regular expressions
- Examples of regular expressions using the grep utility
- Utilities for manipulating data, generating reports and much more (nawk, grep, egrep, sort, sed, cut, tr, plus overview of GNU utilities supplied with Solaris)
- Utilities for examining, converting, compressing and archiving data (dd, tar, compress, gzip, mt, od, what, strings, etc.)
- Utilities for hunting around (find, which)
- Using cmp, diff and comm for comparing files and directories
- Using the more complex and powerful facilities of the vi editor
- Moving blocks of text
- Recovering previous deleted lines
- Placing markers in text
- Running UNIX commands from vi
- Setting and saving options
- Using ex commands for rapid repetitive changes
Bourne, Korn and Bash Shell Programming
- The Bourne shell: A simple shell program
- Execution of and distribution of scripts
- Debugging facilities
- Run time arguments
- Obtaining input from the keyboard
- User-defined and built-in Shell variables
- Integer Arithmetic
- Control statements: Using if to compare integers and strings
- Using if to check for files, directories and permissions
- Loop statements: for, while and until
- The case statement
- Creating and using functions within a script
- Catching interrupts with trap
- The Korn and Bash Shells: The additional programming features of the korn and bash shells such as let and select, plus built-in integer arithmetic and other facilities
- Practicals include interpretation of scripts as well as writing new scripts
- Reference material: Techniques and practical tips for good scripts: Use of absolute & relative paths - passing data between commands - useful special files and directories - labelling your output - options - good programming practice
Overview of System Administration
- Solaris configurations & hardware types.
- Pointers to performing administration tasks on Solaris, including:
- System administration functions & procedures
- How is administration carried out?
- System Administration tools