Getting Start with Hp Ux Shell Prg
- Administration &course materials
- Course structure & agenda
- Delegate & trainer introductions
Chapter 1: HP-UX COMMAND _REVIEW
- The Basic Unix commands
- General _commands
- File & directory handling commands
- The Filename generation characters
- I/O Redirection _features
- Other_ commands
Chapter 2: Introduction
- What is an shell script?
- Development _guidelines
- Creating & editing shell scripts
- Naming & storing shell scripts
- Executing of shell scripts
- Exercise: Write an simple shell script
Chapter 3: USING Of VARIABLES
- Environment_ variables
- Local_ variables
- Assigning values to the variables
- Assessing the variable values
- Using of quotes
- Delimiting the variable names
- The Echo control sequences
- Exercise: Adding variables to a script
Chapter 4: INTEGER _ARITHMETIC
- Using expr command
- Using of the (( )) notation
- Exercise: Adding integer arithmetic to a shell script
Chapter 5: HANDLING Of RUN TIME DATA
- Read command
- The Command line arguments
- Exercise: Writing an generic shell script
- Exercise: Writing a interactive shell script
Chapter 6: CONDITION_ EXECUTION
- if statement
- test command
- Other test _notations
- Default and substitute variables
- Exit status_ codes
- Exercise: Adding validation to previous scripts
Chapter 7: LOOP _CONSTRUCTS
- while loop
- until loop
- for loop
- The while true & until false loops
- Loop control_ commands
- Enhancing the previously written scripts
- Writing a script to copy files using a ‘for’ loop
- Writing a script to generate numbers with t ‘while’ loop
Chapter 8: MULTI-BRANCH DECISIONS
- case statement
- The Menu driven applications
- Exercise: Developing & writing a menu system
Chapter 9: FUNCTIONS
- What is an function?
- Syntax,
- Examples,
- Exercise: Add an function to a script
Chapter 10: INTERRUPT HANDLING
- Interrupt signals
- Trapping interrupts
- Exercise: Adding traps to the menu script
Chapter 11: ADDITIONAL FEATURES AND FACILITIES
- exec commands
- The includes notation
- about loops
- Arrays
- Here Documents
- Exercise: Create an script