Solaris™™/Linux Utilities and Shell Programming
Summary
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.
Prerequisites
Experience of Solaris or Linux similar to the level covered in the
Introduction to Solaris/Linux course.
Course Objective
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.
Length
3 days
Format
Instructor-led course, with many practical computer-based exercises.
Course Outline
Review of shell facilities
Redirection and piping of output and errors
Command History and command line editing.
Aliases.
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/Linux utilities
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,
what, strings).
Utilities for hunting around (find, which).
Using cmp, diff, diff3, 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 Linux 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 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.
Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 3
Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 4
Notice: Undefined variable: REMOTE_USER in /var/www/datadeliverance/inc/trademarks.inc on line 7
Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 7
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.