HP-UX Advanced Shell Programming Tools

3 Day Course
Hands On
Code HASP

Book Now - 2 Delivery Methods Available:

Scheduled Online Onsite

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

Review of Shell Fundamentals (1 topic)

  • Review of UNIX Commands

Using Unix Shells (6 topics)

  • 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 (7 topics)

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

Backup and Restore Utilities (4 topics)

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

Background Job Scheduling (6 topics)

  • 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 (2 topics)

  • Regular expressions
  • Extended regular expressions

Searching Files for Patterns (4 topics)

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

The Stream Editor - sed (8 topics)

  • 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 (4 topics)

  • 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 (5 topics)

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

Identify and Translate Characters (4 topics)

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

Sorting Files (4 topics)

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

Introduction to the Pattern Scanning Utility - awk (14 topics)

  • 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 (6 topics)

  • Program control structures
  • The if construct
  • The while and do ... while constructs
  • The basic for construct
  • Associative array handling
  • Functions
Delegate should have attended HP-UX Introduction (HI) and HP-UX Shell Programming (HSPR), or have similar knowledge.

Additional Learning

The courses below may help you meet the knowledge level required to take this course. If you are unsure please ask a training advisor

  • HP-UX Introduction

    A 3-day Training Course on HP-UX Introduction; provides a good introduction to the Operating System, command structures and editor facilities

    course code HI 21 Classroom dates 6 locations
  • HP-UX Shell Programming

    A 2-day Training Course on HP-UX Shell Programming; Learn to manipulate the Shell environment interface and fully utilize the Shell programming language.

    course code HSPR 25 Classroom dates 6 locations
CodeLocationDurationPrice Jul Aug Sep Oct Nov Dec
HASP
London
3 Days $2,205
Ask a Question

or call:408-759-5074

Course PDF

Print

Share this Course

+1
Share

Recommend this Course