Unix Shell Programming for Developers

Level
Total time

Unix Shell Programming for Developers

Perpetual Solutions
Logo Perpetual Solutions
Provider rating: starstarstarstarstar 10 Perpetual Solutions has an average rating of 10 (out of 1 reviews)

Need more information? Get more details on the site of the provider.

Starting dates and places

There are no known starting dates for this product.

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 gen…

Read the complete description

Frequently asked questions

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.

Didn't find what you were looking for? See also: UNIX, Programming (general), CompTIA A+ / Network+ / Security+, Linux, and IT Security.

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!

There are no reviews yet.

Share your review

Do you have experience with this course? 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.

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.