Home About BC DR HA Support Training Download
You are here: Home/ Training/ Shell-Programming/ Please Login or Register

-
Current Location
-

js
  Training
    Shell-Programming
-
AIX Admin Methodology
Global Consolidation Project
All AIX admins should join
www.aixexpert.com


Join our LinkedIn Group
AIX Advanced Technical Experts
Contract Opportunities

www.LinkedIn.com

-
digg Digg this page
del.icio.us Post to del.icio.us
Slashdot Slashdot it!


LPAR Leasing
Lease an AIX / i5 LPAR
Reduce your costs

www.mtxia.com

Server Leasing
Lease a Server off-site
Reduce your costs

www.mtxia.com

Data Center Automation
Business Continuity and DR
Virtualization/Consolidation

www.mtxia.com

HMC Service
Hardware Management Console
Manage Remote AIX / i5 LPARs

www.siteox.com

Business Web Site Hosting
$3.99 / month includes Tools,
Shopping Cart, Site Builder

www.siteox.com

Disaster Recovery
Small Business Oriented
Off-Site Facilities

www.mtxia.com

IBM pSeries / iSeries
Reduce your Costs
Off-Site Server Hosting

www.mtxia.com

-

Shell Training

-

A course titled " KornShell Programming (Course 434) " is taught by Mr. Dana French of Mt Xia through Learning Tree International.

An overview of this course follows:


INTRODUCTION AND OVERVIEW

  • Knowing when to use ksh
  • Integrating KornShell scripts with external applications and tools
  • Typical KornShell applications
  • Differences between ksh88 and ksh93
  • Benefits of KornShell vs. other shells

KORNSHELL FUNDAMENTALS

Shell script elements

  • Commands and comments
  • Defining exit values

Conditional program execution

  • Applying if and case statements
  • Simplifying if logic with elif

Program loops and iteration

  • Conditional looping with while and until
  • Pattern matching and list for loops

Testing files and strings

  • Testing file age and permissions
  • Comparing strings
  • Verifying the existence of a string
  • Testing with the [[ ]] command

Debugging

  • Redirecting print as a debugging aid
  • set commands for debugging

STORING AND ACCESSING DATA

Positional parameters

  • Passing and accessing parameters
  • Setting and unsetting parameters
  • Manipulating parameters as groups

Shell variables

  • Defining global and local variables
  • Specifying default values and error conditions
  • Writing reports by setting display characteristics

Arrays

  • Creating and indexing arithmetic arrays
  • Processing array contents with special variables

PROCESSING DATA

Manipulating strings

  • Extracting substrings
  • Determining string length

Mathematics under the KornShell

  • Creating counting while loops
  • Writing mathematical expressions: let vs. (( )), $(( ))

MODULAR PROGRAMMING WITH FUNCTIONS

KornShell function basics

  • Functions vs. scripts
  • Managing your variable namespace

Creating a function library

  • Finding your library with FPATH
  • Building a function library directory

INTERACTING WITH THE OUTSIDE WORLD

Manipulating files and redirecting data

  • Processing command line parameters
  • Deciphering redirection order
  • Unraveling the secrets of exec: opening and closing multiple files

Interacting with running processes

  • Handling error signals
  • Defining post-termination actions such as notification, cleanup
  • Reinitializing or getting status

Accessing network servers

  • Contacting a network server
  • Exchanging data with a network server

CREATING "PRODUCTION QUALITY" SCRIPTS

Ensuring environmental control

  • Checking and modifying environment variables
  • Using getopts to process command line options

Handling user interactions

  • Setting up error processing
  • Employing select to create a menu interface


The following is a free course on the topic of Bourne Shell programing


[Hypertext] intro.shtml UNIX Bourne Shell Programming
[Hypertext] toc.shtml Table of Contents
[Hypertext] sh1.shtml UNIX Bourne Shell Programming
[Hypertext] sh2a.shtml UNIX Bourne Shell Programming
[Hypertext] sh2b.shtml UNIX Bourne Shell Programming
[Hypertext] sh3.shtml UNIX Bourne Shell Programming
[Hypertext] sh4a.shtml UNIX Bourne Shell Programming
[Hypertext] sh4b.shtml UNIX Bourne Shell Programming
[Hypertext] sh5a.shtml UNIX Bourne Shell Programming
[Hypertext] sh5b.shtml UNIX Bourne Shell Programming
[Hypertext] sh6a.shtml UNIX Bourne Shell Programming
[Hypertext] sh6b.shtml UNIX Bourne Shell Programming
[Hypertext] sh6c.shtml UNIX Bourne Shell Programming
[Hypertext] sh7a.shtml UNIX Bourne Shell Programming
[Hypertext] sh7b.shtml UNIX Bourne Shell Programming
[Hypertext] sh8.shtml UNIX Bourne Shell Programming
[Hypertext] sh9a.shtml UNIX Bourne Shell Programming
[Hypertext] sh9b.shtml UNIX Bourne Shell Programming
[Hypertext] man_ar.shtml Manual: ar(1)
[Hypertext] man_cb.shtml Manual: cb(1)
[Hypertext] man_cc.shtml Manual: cc(1)
[Hypertext] man_expr.shtml Manual: expr(1)
[Hypertext] man_f77.shtml Manual: f77(1)
[Hypertext] man_ftp.shtml Manual: ftp(1)
[Hypertext] man_ksh.shtml Manual: ksh(1)
[Hypertext] man_lint.shtml Manual: lint(1)
[Hypertext] man_sh.shtml Manual: sh(1)
[Hypertext] man_test.shtml Manual: test(1)
[Hypertext] man_time.shtml Manual: time(1)


-
Shell Training
-
 

AIX Training
DR Training
HACMP Training
NIM Training
PLM Training
Storage Training
Bourne Shell Training
Unix/Linux Training


LPAR Leasing
Lease an AIX / i5 LPAR
Reduce your costs

www.mtxia.com

Server Leasing
Lease a Server off-site
Reduce your costs

www.mtxia.com

Data Center Automation
Business Continuity and DR
Virtualization/Consolidation

www.mtxia.com

HMC Service
Hardware Management Console
Manage Remote AIX / i5 LPARs

www.siteox.com

Business Web Site Hosting
$3.99 / month includes Tools,
Shopping Cart, Site Builder

www.siteox.com

FREE Domain Registration
included with Web Site Hosting
Tools, Social Networking, Blog

www.siteox.com

Disaster Recovery
Small Business Oriented
Off-Site Facilities

www.mtxia.com

IBM pSeries / iSeries
Reduce your Costs
Off-Site Server Hosting

www.mtxia.com