Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

Solaris Korn Shell Programming

( Duration: 5 Days )

This Solaris Korn Shell Programming training course provides practical experience in developing and writing shell scripts. Most of the built-in shell commands are introduced together with the main program control structures. The course also gives practical experience using a range of Solaris tools to manipulate text and incorporate into Solaris shell scripts.

By attending Solaris Korn Shell Programming workshop, delegates will learn:

  • To provide the skills needed to develop and customise shell programs and to make effective use of a wide range of standard Solaris programming and development tools.

  • Basic Knowledge of the Solaris Operating System. Some programming experience may also prove advantageous.

The Solaris Korn Shell Programming class is ideal for:

  • Programmers, Developers and System Administrators who need to construct shell scripts and process text files using advanced text handling facilities.

COURSE AGENDA

1

Course Introduction

2

Unix Command Review

  • Basic Unix commands
  • General commands
  • File and directory handling commands
  • Filename generation characters
  • I/O Redirection features
  • Other commands
3

Getting Started

  • What is a shell script?
  • Development guidelines
  • Creating and editing shell scripts
  • Naming and storing shell scripts
  • Executing shell scripts
4

Using Variables

  • Environment variables
  • Local variables
  • Assigning values to variables
  • Assessing variable values
  • Using quotes
  • Delimiting variable names
  • Echo control sequences
5

Integer Arithmetic

  • Using the expr command
  • Using the (( )) notation
6

Handling Run Time Data

  • The read command
  • Command line arguments
7

Conditional Execution

  • The if statement
  • The test command
8

Additional Korn, Bash & Posix Syntax

  • Other test notations
  • Default and substitute variables
  • Exit status codes
9

Loop Constructs

  • The while loop
  • The until loop
  • The for loop
  • The while true and until false loops
  • Loop control commands
10

Multi-Branch Decisions

  • The case statement
  • Menu driven applications
11

Functions

  • What is a function?
  • Syntax
  • Creating a Function Library
12

Interrupt Handling

  • Interrupt signals
  • Trapping interrupts
13

Additional Features And Facilities

  • The exec commands
  • The includes notation
  • More about loops
  • Arrays
  • Here Documents
14

Backup And Restore Utilities

  • Backing-up and restoring files
  • Basic and advanced use of tar
  • Compression utilities gzip,bzip2,zip and compress
15

Background Job Scheduling

  • Scheduling jobs with the cron command
  • Scheduling jobs with the at command
16

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
17

Splitting Files

  • The split and csplit commands
18

Identifying And Translating Characters

  • od - octal dump
  • Use cat to display non-printing characters
  • The expand and unexpand commands to convert between tab and space characters
  • The tr command for character translation
19

Regular Expression Notation Review

  • Standard regular expressions
  • Extended regular expressions
20

The Stream Editor Sed

  • sed command line syntax
  • sed script files
  • sed command processing
  • sed addresses and simple instructions
  • sed pattern space and hold space
  • Grouping sed commands
  • Hold and get functions
  • Advanced flow control
21

Fundamentals Of Awk

  • Basic AWK usage
  • AWK program-files
  • AWK scripts
  • AWK variables
  • Pattern matching with AWK
  • AWK extended patterns
  • AWK operators
  • AWK arithmetic operations
  • AWK output
  • Formatting output with printf
22

Awk Program Control Structures

  • The BEGIN and END functions
  • The AWK if construct
  • The AWK else if construct
  • The AWK while construct
  • Other program control statements
  • The AWK break,continue and exit statements
  • User defined functions
23

Awk Functions

  • AWK string functions
  • AWK length, tolower, toupper, index, sub, gsub, match, substr, split, sprintf, system and getline functions
24

Awk Arrays

  • AWK associative arrays
  • Multi-dimensional arrays
25

Miscellaneous Tools

  • bc (calculator)
  • fuser (testing for files in use)
  • getops (checking options passed to shell scripts)
  • printf (formatting screen output)
  • logger (script logging)
  • xargs (generating arguments for a command)
  • eval (re-evaluating variables)

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X