|
Linux Utilities and Shell Programming
This three-day course provides a follow-on
from the Introduction to Linux
course for power users and administrators who wish to learn more of the
general purpose Linux utilities, and be able to automate tasks by
writing Bourne, Korn and Bash shell scripts. 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.
Our Linux courses are suitable training for Linux LPI or RedHat Certification
Select here for related courses
|
Select here for a list of all courses
|
OBJECTIVES OF THE COURSE
To train those who know a little Linux more
of the "nuts and bolts" of Linux so that they will make good power
users, and have the tools at their command to become excellent
administrators and applications support technicians.
| COURSE CODE |
LUA |
TUTORS |
Mick Hosegood email |
| DURATION |
3 days |
VENUE |
Harwell (H) and Newark (N) Training Centres
** |
| PRICE |
£750 plus VAT
* |
BOOKING CONTACT |
Mick Hosegood email |
| EXPERIENCE LEVEL |
Intermediate |
TECHNICAL CONTACT |
Mick
Hosegood email |
*see note at bottom for special savings!
for pricing for a course run especially for your organisation, please
use our worksheet **Also available on your site for groups of four to
ten.
COURSE DATES:
|
Sep 2011
|
Nov
|
Jan 2012
|
Mar
|
Jun
|
Sep
|
Nov
|
| 7-N |
16-N |
11-N |
7-N
|
13-N
|
12-N
|
28-N
|
INTENSITY: About 40% of the course is
practicals, and 60% lectures
RESOURCE: Each student will have
exclusive use of a Linux 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
Linux commands. Printer(s) are provided on this course so that students
can learn how to use them, and also take away printed copies of their
work.
Tape drives are provided for each student
for use during backup and restore exercises.
PREREQUISITES: Experience of Linux
similar to the level covered in our Introduction
to Linux course.
FOLLOW UPS: We offer two Linux
Systems Administration courses (Linux
System Administration (Part 1) and Linux System Administration (Part 2)). Those who
need to tackle more advanced data manipulation and scripting techniques
should also consider our range of Perl
Programming courses. Sheets describing each of our courses, and
current schedules, are available on request.
PRACTICALS / TAKEAWAYS: Each student
leaves the course with their own set of training notes for the material
covered; around 120 pages per day of training.
| Every student who attends this course
will be issued with a signed certificate of course completion, which we
will be happy to "authenticate" upon future request. |
| On this course, we hand out a number
of quick reference sheets to each student on subjects such as vi and
Linux commands. |
| Students on this course can print out
their work and take it away with them. |
SOFTWARE VERSIONS: Uses the Redhat or
CentOS
Linux distribution, but is suitable for any version of Linux or UNIX..
TOPICS COVERED ON THE COURSE
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.
Linux 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 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.
|