AIX Advanced Shell Programming Tools
 
 

AIX Advanced Shell Programming Tools

Course Code: AASP

Duration: 3 days

S6

AIX Advanced Shell Programming Tools Course Overview

This IBM AIX Korn Shell Programming training course is designed to give delegates practical experience using a range of AIX tools to manipulate text and incorporate them into AIX shell scripts.

The delegate will learn and acquire skills as follows:

  • Backing up and restoring files with tar
  • File compression
  • Scheduling background jobs with crontab and at
  • Comparing file contents
  • Splitting files
  • Identifying and translating characters
  • Review of regular expressions
  • Editing text files with sed
  • Pattern scanning and report generating with awk
  • Debugging awk scripts
  • Miscellaneous commands

Who will the Course Benefit?

Programmers, developers and system administrators who need to construct shell scripts using advanced text handling facilities.

The AIX Advanced Shell Programming Tools assumes knowledge of the AIX Operating System to the level covered in the AIX Basics Course. Some shell programming experience to the level covered in AIX Shell Programming is also necessary.

Course Objectives

To provide the knowledge and skills to make effective use of a wide range of standard AIX programming and development tools.

Requirements

The AIX Advanced Shell Programming Tools course assumes knowledge of the AXI Operating System to the level covered in the AIX Basics course. Some programming experience may also prove advantageous.

Pre-Requisite Courses

Follow-On Courses

Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.


 

Course Contents

AIX Advanced Shell Programming Tools Training Course

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: BACKUP AND RESTORE UTILITIES

  • The tar command
  • Compression utilities gzip, bzip2, zip and compress
  • Exercise: Backing up and restoring files using tar
  • Exercises: Compressing files

Session 2: BACKGROUND JOB SCHEDULING

  • Scheduling jobs with the cron command
  • Scheduling jobs with the at command
  • Exercises: Running background jobs

Session 3: COMMANDS FOR COMPARING FILES

  • Compare two files with the cmp command
  • Compare two files with the comm command
  • Compare two files with the diff and sdiff commands
  • Compare large files with the bdiff command
  • Exercises: Identifying file differences

Session 4: SPLITTING FILES

  • The split and csplit commands
  • Exercises: Splitting files

AIX Advanced Shell Programming Tools Training Course

Session 5: IDENTIFYING AND TRANSLATING CHARACTERS

  • od - octal dump
  • Use cat to display non-printing characters
  • The expand and unexpand commands to convert between tab and space characters
  • The tr command for character translation
  • Exercises: Translating characters with tr

Session 6: REGULAR EXPRESSION NOTATION REVIEW

  • Standard regular expressions
  • Extended regular expressions

Session 7: THE STREAM EDITOR - sed

  • sed command line syntax
  • sed command processing
  • Pattern space
  • sed addresses
  • sed commands
  • Hold and get functions
  • Advanced flow control
  • Exercises: Text processing with sed

Session 8: INTRODUCTION TO THE PATTERN SCANNING UTILITY - awk

  • Introduction and command line syntax
  • The awk program structure
  • Operators
  • Simple patterns
  • Extended patterns
  • Special patterns (BEGIN and END)
  • Program variables: Built-in variables, User defined variables, Arrays
  • Mathematical operators
  • Displaying output with print and printf
  • Exercises: Create awk scripts to extract selected data from a file and generate reports

AIX Advanced Shell Programming Tools Training Course

Session 9: awk PROGRAM CONTROL STRUCTURES

  • Program control structures
  • The if construct
  • The while and do ... while constructs
  • The basic for construct
  • Associative array handling
  • Functions: Mathematical and string functions, The system function, The getline function, User defined functions
  • Exercises: Create an awk script using an program control structures and arrays

Session 10: awk DEBUGGING AWK SCRIPTS

  • Responding to Syntax errors
  • Responding to Logical errors

Session 11: MISCELLANEOUS TOOLS

  • bc (calculator)
  • fuser (testing for files in use)
  • getops (checking options passed to shell scripts)
  • printf (formatting screen output)
  • logger (script logging)
  • xargs (generating arguments for a command)
  • eval (re-evaluating variables)
  • Exercises: Using tools within a shell script
 

AIX Advanced Shell Programming Tools

Duration: 3 days

RRP: £1,345.00 exc. VAT 


Upcoming Scheduled Events
Next 6 months

London
Start Date   Spaces Book
20 Feb 2019   Spaces StayAhead - Course Running Book
 
01 May 2019   Spaces StayAhead - Course Running Book
 
26 Jun 2019   Spaces StayAhead - Course Running Book
 
Virtual Events StayAhead Virtual Courses available You can attend your training virtually using the London dates shown above. Please contact us for more details on our Virtual training options or to discuss specific Virtual course dates to meet your requirements.
 

Course Reviews

Just finished my second course with StayAhead. Once again, great instructor and course material. I shall be booking the follow on courses later this year.

Jordan - Director - IT


 
 
 
        Home             Let Us Call You
 

 

Course Deliveries

Public Scheduled and Closed
Virtual
UK and Overseas

OUG

Oracle User Group - Membership Benefits

OUG

Certification

Our independent Oracle, Solaris & Red Hat Linux curriculums helps prepare delegates for official certification.

StayAhead
Flexibility

Cannot see a sutiable date?
Please call us and we will try an accommodateyour needs!




Our Course Curriculum

 
 
 
 
 



Our Ratings

Instructor
Quality
 

97.48%

Course
Practical
 

92.63%

Overall
Courseware
 

94.44%

Overall
Course
 

96.46%

+44 (0)20 7600 6116
sales@stayahead.com
Copyright © 2019 StayAhead Training Ltd
Cookies   /   Privacy Policy