Solaris™/Linux Utilities and Shell Programming
This three-day course provides a follow-on from the Introduction to Solaris/Linux™
course for power users and administrators who wish to learn more of the
general purpose Solaris/Linux utilities, and be able to automate tasks by
writing shell scripts. This course not only teaches the utilities and
programming skills, but also provides many examples of useful shell
scripts. A further important aspect is that students are taught to be able to
readily interpret existing scripts.
Experience of Solaris or Linux similar to the level covered in the
Introduction to Solaris/Linux course.
To train those who know a little UNIX® more of the "nuts and bolts" of Solaris or Linux
so that they will make good power users, and have the tools at their command
to become excellent administrators and applications support technicians.
Instructor-led course, with many practical computer-based exercises.
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.
What are regular expressions?
Commands that use regular expressions.
Special characters in regular expressions.
Examples of regular expressions used with the grep utility.
Utilities for manipulating data, generating reports and much more (nawk, grep, sort, sed, cut, tr).
Utilities for examining and converting data (dd, tar, mt, od,
Utilities for hunting around (find, which).
Using cmp, diff, diff3, comm for comparing files and
Compression utilities compress, zip, gzip, bzip2, etc.
Bourne, Korn and Bash Shell Programming
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 Linux commands from vi.
Setting and saving options.
Using ex commands for rapid repetitive changes.
Techniques and practical tips for good scripts
A simple shell program.
Execution of Scripts.
Run time arguments.
Input from the keyboard.
Shell variables and special variables.
Control and Loop statements (if, for, while until, case, select).
Functions in scripts.
Catching interrupts with trap.
(Practicals include interpretation of existing scripts as well as writing new scripts).
Overview of System Administration
Use of absolute & relative paths.
Passing data between commands.
Useful special files and directories.
Labelling your output.
General best programming practices.
Pointers to performing administration tasks on Linux, including:- Linux configurations & hardware support.
System administration functions & procedures.
How is administration carried out?
System Administration tools.
Hardware and Software Requirements
A machine or VM running Solaris or Linux for each student.
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
PL/SQL and SQL*Plus are trademarks or registered trademarks of Oracle
Corporation. Microsoft is either a registered trademark or trademark of Microsoft
Corporation in the United States and/or other countries. MVS is a registered
trademark of the International Business Machines Corp. in the U.S. or other
countries or both. Motif, OSF/1, UNIX, and the "X Device" are registered
trademarks and IT DialTone and The Open Group are trademarks of The Open Group
in the U.S. and other countries. All other trademarks are the property of
their respective owners.