Subscribe to Newsletter

Print

HP-UX Training Course


(This course is offered only on-demand to a private batch and can be customized as per the business requirements)

Overview

This course introduces the participants to the main concepts of the HP-UX Operating System. The most commonly used commands are described in detail as are the command line wildcard and redirection facilities.

The course is designed to give participants practical experience in developing and writing shellscripts. Most of the built-in shell commands are introduced together with the main program control structures.

Objectives

At the end of HP-UX training course, participants will understand:

  • Creating, copying, renaming, moving and deleting files and directories
  • Using the shell's redirection and pipe facilities
  • Editing text files using the vi editor
  • Setting and changing access permissions on files
  • Monitoring and controlling their own processes
  • Using the basic file and text searching utilities
  • Customizing their own login environment
  • Writing simple scripts to enhance basic command output
  • Using the various shell quoting mechanisms appropriately
  • Manipulating shell variables and user-defined variables in scripts
  • Implementing conditional execution facilities
  • Using the shell's built-in loop constructs where appropriate
  • Writing scripts to trap user interrupts
  • Developing menu-driven shell scripts

Suggested Audience - Programmers, administrators and support personnel who need to understand the HP-UX Operating system, existing shell scripts, automate procedures and write their own utilities.

Duration - 5 Days

Prerequisites - An understanding of IT is required.

Syllabus

1. A brief history of UNIX
  • The UNIX kernel
  • The UNIX file system
  • A login session
  • Getting started navigating the file system
  • The file system structure
  • Directories and files
  • Pathnames
  • Navigating the file system
2. Basic Commands
  • Command line syntax
  • Basic file handling commands
  • Basic Directory handling commands
  • Filename wildcard characters
3. Redirection and Pipes
  • Input redirection
  • Output redirection
  • Pipes
4. Introduction to the vi Editor
  • Overview of the vi editor
  • Basic functions
  • Switching to input mode
  • Other useful commands
5. Searching and Replacing Text
  • Replacing text
  • Using the vi editor
  • Using sed for search and replace
  • Searching for text with grep
  • Linking files
6. Recalling and Editing Commands
  • Overview
  • The Bash shell
  • The Korn shell
7. File Permissions and Access Control
  • Users and user groups
  • File access permissions
  • Changing file attributes
  • Switching users and user groups
  • Linking files
8. Processes
  • What is a process?
  • Monitoring processes
  • Killing processes
  • Background processes
  • Job Control
  • Grouping commands
9. More Basic Commands
  • The wc (word count) command
  • The find command
  • The cut command
  • The sort command
  • The finger command
10. The User Enviornment
  • Customising the .profile or .bash_profile
  • Customising the .kshrc or .bashrc
11. Unix Command Review
  • Basic Unix commands
  • General commands
  • File and directory handling commands
  • Filename generation characters
  • I/O Redirection features
  • Other commands
12. Getting Started
  • What is a shell script?
  • Development guidelines
  • Creating and editing shell scripts
  • Naming and storing shell scripts
  • Executing shell scripts
13. Using Variables
  • Environment variables
  • Local variables
  • Assigning values to variables
  • Assessing variable values
  • Using quotes
  • Delimiting variable names
  • Echo control sequences
14. Integer Arithmetic
  • Using the expr command
  • Using the (( )) notation
15. Handling Run Time Data
  • The read com
  • mand
  • Command line arguments
16. Condition Execution
  • The if statement
  • The test command
  • Other test notations
  • Default and substitute variables
  • Exit status codes
17. Loop Constructs
  • The while loop
  • The until loop
  • The for loop
  • The while true and until false loops
  • Loop control commands
18. Multi-branch Decisions
  • The case statement
  • Menu driven applications
19. Functions
  • What is a function?
  • Syntax
  • Examples
20. Interrupt Handling
  • Interrupt signals
  • Trapping interrupts
21. Additional Features and Facilities
  • The exec commands
  • The includes notation
  • More about loops
  • Arrays
  • Here Documents