Unix Shell Programming for Developers

Level:
Costs:
Total time:
Provider rating: 10 Perpetual Solutions has an average rating of 10 (out of 1 reviews)
Logo Perpetual Solutions

Tip: Receive more information about the programme, starting dates & price. Or request a proposal from multiple providers for in-house training.

Overview

Your experience of this course?

Did you attend the course Unix Shell Programming for Developers at Perpetual Solutions? Help other people by submitting your review at Springest!

Springest will donate £1.- to the Edukans Foundation as a thank you for each review

 
Schedule:
Daytime
Run time:
5 days
Location type:
Open

completion, maximum participants, and starting dateplaces are unknown for this course.

Prerequisites:

Delegates should have attended UNIX Introduction, or have similar knowledge and skills.

Course Description:

This course is designed to give delegates 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 UNIX tools to manipulate text and incorporate into UNIX shell scripts.

This course will benefit programmers, developers and system administrators who need to construct shell scripts using advanced text handling facilities.

This course includes the following modules:

Unix Command Review

  • Basic UNIX commands
  • Filename gen…

Read the complete description

Description

Prerequisites:

Delegates should have attended UNIX Introduction, or have similar knowledge and skills.

Course Description:

This course is designed to give delegates 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 UNIX tools to manipulate text and incorporate into UNIX shell scripts.

This course will benefit programmers, developers and system administrators who need to construct shell scripts using advanced text handling facilities.

This course includes the following modules:

Unix Command Review

  • Basic UNIX commands
  • Filename generation characters
  • Redirection and pipes

Getting Started

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

Using Variables

  • Environment variables
  • Local variables
  • Assigning values to variables
  • Accessing variable values
  • Using quotes
  • Delimiting variable names
  • echo control sequences

Interger Arithmetic

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

Handling Run Time Input

  • The read command
  • Command line arguments and related variables

Condition Testing

  • The if-then-elif-else statement
  • String tests
  • Integer tests
  • Filename tests
  • Other test notations
  • Default and substitute variables
  • Exit status codes
  • Counting characters
  • Testing for numeric input

Loop Constructs

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

Multi-branch Decisions

  • The case statement
  • Patterns and actions
  • Menu driven applications

Functions

  • What is a function?
  • Function syntax

Interrupt Handling

  • Interrupt signals
  • The trap command
  • Abnormal termination of scripts

Review of Shell Fundamentals

  • Review of UNIX Commands

Using Unix Shells

  • 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

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

Backup and Restore Utilities

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

Background Job Scheduling

  • 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

  • Regular expressions
  • Extended regular expressions

Searching Files for Patterns

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

The Stream Editor - sed

  • 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

  • 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

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

Identify and Translate Characters

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

Sorting Files

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

Introduction to the Pattern Scanning Utility - awk

  • 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
  • Mathematical operators
  • Enhanced printing
  • Handling user variables

awk Program Control Structures

  • Program control structures
  • The if construct
  • The while and do ... while constructs
  • The basic for construct
  • Associative array handling
  • Functions

For online live training advice please visit our Learning Advice Centre on our website. Be sure to follow us on Twitter to receive special course offers, news and updates!

Reviews

There are no reviews yet. Submit your review and help other people make the right choice. As a thank you for your effort we will donate £1.- to Stichting Edukans.

In-company offer

Ask for a quote on a customised training course.
Maximum 3 relevant providers will directly respond.

More courses within this subject:

Compare 32,279 training courses in subjects like UNIX

Sign up to create your own Learning Lists.

Not for humans