|
Provided by: Serebra Learning Corporation UNIX Shell ProgrammingShell Programming |
![]() |
Training
Provided by Serebra Learning Corporation
The UNIX Shell Programming course is designed to give students an idea of what can be accomplished with shell scripts and how to write them. This course teaches the features of the shell such as I/O redirection, filename shorthand, looping constructs, variables, and signal handling. The course introduces the concept of shell programming, how and when to create shell programs, and how to run shell programs. It also provides a general discussion of shell metacharacters as well as quoting mechanisms. The course covers various methods of getting input for shell scripts. Four methods are presented: command substitution the read command, command line input and the trap command. Also presented is a summary of the types of interpretations the shell performs and a discussion about double quote marks. The flow control constructs discussed in this course include the case command, which is much like the C programming language's switch statement and Pascal's case statement, and the ""if"" constructs. This This course is designed for UNIX application users. It is also designed for programmers, systems alanlysts and engineers involved in the development of software for a UNIX system.
|
|
||||||||||
UNIX Shell Programming
Audience
This course is designed for UNIX application users. It is also designed for programmers, systems alanlysts and engineers involved in the development of software for a UNIX system.
Topics
Unit 1: Creating a Simple Shell Script
- Introduction
- The Shell as a Programming Language
- Creating Shell Scripts
- Some Basics
- Input and Output Redirection
- Scripts vs Compiled Programs
- Shell Script Examples
- More about Running Scripts
Unit 2: Filename Generation & Quoting
- Introduction
- Metacharacters
- Filename Generation Characters
- Filename Generation
- Quoting
- The Comment Character
Unit 3: Using Shell Variables in Scripts
- Introduction
- Creating and Referencing Variables
- Executing Files
- An Example Process Hierarchy
- visibility of Shell Variables
- The Environment of a Process
Unit 4: Input for Shell Scripts<
Objectives
Upon completion of this course, the student will be able to:Create and run shell scripts Redirect standard input, standard output and standard error Quote metacharacters when they are to be included in arguments Use filename generation metacharacters Use shell variables and the export command Write scripts that accept command line arguments Use the read command to obtain input for a script Use command substitution Retrieve the exit status of the previous command Test properties of files and strings by using the test commant Use the case command and the various forms of the if command Use for loops, while loops, and until loops Use the set command to display the values of all sell variables Use the set command to set shell options such as -x and -v Use the set command to change the values of the positional parameters Use the exit command to cause a script to
About The Training Provider: Serebra Learning Corporation
Serebra Learning Corporation - Serebra Learning Corporation provides technology-based training solutions through a combination of Cortex, its proprietary learning management system (LMS), and a curriculum catalog with over 1, 825 current courseware titles. Founded in 1987 (as FirstClass Systems, with a name change to Serebra in 2001), Serebra has over sixteen years" experience delivering e-learning solutions to both...

