0345 4506120

AIX Advanced Shell Programming Tools

Course Details

Name AIX Advanced Shell Programming Tools
DescriptionThis 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. Skills Gained The delegate will practice: Using the shell command line editor Backing up and restoring files Scheduling background jobs using cron and at Using regular expressions Editing text files with sed Using file comparison utilities Using the head and tail utilities Using the cut and paste utilities Using split and csplit Identifying and translating characters Sorting files Translating characters in a file Selecting text from files with the grep family of commands Creating programs with awk 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.
URL
Location:
London - City
Start Date:
Working Days:
Price:
£1245.00 +vat
Availability:
Exam:
Residential:
Course ID:
426956

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.

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.

Learning Objectives

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

he delegate will learn and acquire skills as follows:

  • Backing up and restoring files with tar
  • Advanced tar commands
  • File compression
  • Scheduling background jobs with crontab and at
  • Comparing file contents
  • Splitting files based on content and context
  • Identifying and translating characters
  • Use og grep and regular expressions
  • Basic and advanced file editing with sed
  • Creating AWK program-files and scripts
  • Pattern matching with AWK
  • AWK variables, operators and arithmetic functions
  • AWK program control structures
  • AWK functions
  • AWK associative and multi-dimensional arrays
  • Various miscellaneous commands

Pre-Requisites

The AIX Advanced Shell Programming Tools course 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.

Pre-Requisite Courses

    • AIX Basic
    • AIX Shell Programming

Follow-On Courses

    • AIX System Administration - Part
    • Oracle SQL

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 Content

Course Contents - DAY 1

Course Introduction

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

Session 1: BACKUP AND RESTORE UTILITIES

  • Backing-up and restoring files
  • Basic and advanced use of tar
  • 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

Course Contents - DAY 2

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 script files
  • sed command processing
  • sed addresses and simple instructions
  • sed pattern space and hold space
  • Grouping sed commands
  • Hold and get functions
  • Advanced flow control
  • Exercises: Text processing with sed

Session 8: FUNDAMENTALS OF AWK

  • Basic AWK usage
  • AWK program-files
  • AWK scripts
  • AWK variables
  • Pattern matching with AWK
  • AWK extended patterns
  • AWK operators
  • AWK arithmetic operations
  • AWK output
  • Formatting output with printf
  • Exercises: Create awk scripts to extract selected data from a file and generate reports

Course Contents - DAY 3

Session 9: AWK PROGRAM CONTROL STRUCTURES

  • The BEGIN and END functions
  • The AWK if construct
  • The AWK else if construct
  • The AWK while construct
  • Other program control statements
  • The AWK break, continue and exit statements
  • User defined functions
  • Exercises: Create AWK scripts and program-files utilising program control structures

Session 10: AWK FUNCTIONS

  • AWK string functions
  • AWK length, tolower, toupper, index, sub, gsub, match, substr, split, sprintf, system and getline functions
  • Exercises: Generate AWK scripts and program-files to extract and format data using AWK functions

Session 11: AWK ARRAYS

  • AWK associative arrays
  • Multi-dimensional arrays
  • Exercises: Create AWK associative arrays to process text files and generate reports

Session 12: 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

London - Barbican

Location:

Barbican Training Centre
6 Long Lane
London
EC1A 9HF

 

Directions:

By Rail

Farringdon Main Line Station is within walking distance of the Training premises.  Turn left outside the station and follow Cowcross Street to the end. Turn left into Charterhouse Street.  Turn right into Hayne Street and then left into Long Lane.  The Training premises are situated 200 yards on the left-hand side of the road.

By Tube


Barbican Station is on the Circle, Metropolitan and Hammersmith & City Lines.  Turn right out of the station and then right into Long Lane.  The Training premises are 50 yards on the right hand side of the road.

By Road

Barbican is situated on the main A1 road. An NCP Car Park is located in the Barbican Centre.  The cost is approximately £16 per day.

Entry

To gain entry on arrival, press the intercom button.  Take the lift to the 3rd floor, go through the doors on the right and report to Reception.

Our Customers Include