HP-UX Advanced Shell Programming Tools

Level
Total time

Description

Prerequisites:

Delegate should have attended HP-UX Introduction (HI) and HP-UX Shell Programming (HSPR), or have similar knowledge.

Course Description:

This course is designed to give delegates practical experience using a range of HP-UX tools to manipulate text and incorporate them into HP-UX shell scripts.

The course will benefit programmers, developers and system administrators who need to construct shell scripts using advanced text handling facilities.

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
  • Searching files for patterns with the grep family of commands
  • Editing text fi…

Read the complete description

Frequently asked questions

There are no frequently asked questions yet.  

Prerequisites:

Delegate should have attended HP-UX Introduction (HI) and HP-UX Shell Programming (HSPR), or have similar knowledge.

Course Description:

This course is designed to give delegates practical experience using a range of HP-UX tools to manipulate text and incorporate them into HP-UX shell scripts.

The course will benefit programmers, developers and system administrators who need to construct shell scripts using advanced text handling facilities.

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
  • Searching files for patterns with the grep family of commands
  • 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

This course includes the following modules:

Review of Shell Fundamentals

  • Review of UNIX Commands

Using Unix Shells

  • Command line history and editing
  • The Korn and POSIX shells
  • The Bash shell
  • Command aliasing
  • The shell startup file
  • Shell environment variables

Redirection, Pipes and Filters

  • Standard I/O and redirection
  • Pipes
  • Command separation
  • Conditional execution
  • Grouping Commands
  • UNIX filters
  • The tee command

Backup and Restore Utilities

  • Archive devices
  • The cpio command
  • The tar command
  • The dd command

Background Job Scheduling

  • Starting background jobs
  • Background tasks and the nohup command
  • Process priorities and the nice command
  • Job control
  • Scheduling jobs with the at command
  • Scheduling jobs with the cron command

Regular Expression Notation

  • Regular expressions
  • Extended regular expressions

Searching Files for Patterns

  • The grep family of commands
  • The grep command
  • The fgrep command
  • The egrep command

The Stream Editor - sed

  • Introduction and command line syntax
  • The sed program structure
  • sed program processing
  • Use sed commands
  • sed addresses
  • sed instructions
  • Hold and get functions
  • Advanced flow control

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

File Manipulation Commands

  • The head and tail commands
  • The cut command
  • The paste command
  • The pr command
  • The split and csplit commands

Identify and Translate Characters

  • od - octal dump
  • Use cat to display non-printing characters
  • The expand and unexpand commands
  • The tr command

Sorting Files

  • The sort command
  • Specify sort keys with -k
  • Sort by column positions
  • The uniq command

Introduction to the Pattern Scanning Utility - awk

  • Introduction and command line syntax
  • The awk program structure
  • Use regular expressions
  • Operators
  • Simple patterns
  • Extended patterns
  • Comments
  • Special patterns (BEGIN and END)
  • Program variables
  • Built-in variables
  • User defined variables
  • Mathematical operators
  • Enhanced printing
  • Handling user variables

awk Program Control Structures

  • Program control structures
  • The if construct
  • The while and do ... while constructs
  • The basic for construct
  • Associative array handling
  • Functions

For online live training advice please visit our Learning Advice Centre on our website. Be sure to follow us on Twitter to receive special course offers, news and updates!

There are no reviews yet. Submit your review and help other people make the right choice. As a thank you for your effort we will donate £1.- to Stichting Edukans.

There are no frequently asked questions yet.  

Download a free information brochure

Gender
(optional)
(optional)
(optional)
(optional)
(optional)

Do you have any questions?