Course : Writing Shell scripts in Unix/Linux

certification AVIT® en option

Practical course - 3d - 21h00 - Ref. SHL
Price : 1800 € E.T.

Writing Shell scripts in Unix/Linux

certification AVIT® en option


Required course



INTER
IN-HOUSE
CUSTOM

In person or remote class
Available in English on request

Ref. SHL
  3d - 21h00
1800 € E.T.







Certification
If registering for the AVIT® Automating Administration With Windows PowerShell certification option, you must do so at the same time as course registration. The exam is a multiple-choice test lasting one-and-a-half to two hours. The result indicates your skill level. Merely taking the course is not sufficient to achieve a maximum score. The exam must be both scheduled and then taken online within 4 weeks following the start of your session.

Practical details
Different exercises (simple and complex) will be carried out in order to become truly autonomous in writing shell scripts.

Course schedule

1
Overview of the UNIX Shell

  • History of the UNIX Shell. UNIX fork/exec system calls.
  • Arguments and environment of a UNIX program.
  • How the Shell reads the command line.
  • Differences between Bourne, Korn and Bourne Again Shells.

2
Interfacing UNIX with the interactive Shell

  • Starting an interactive Shell. Initialization of the Shell.
  • Line editing, vi and emacs Ksh modes. Line editing with Bash.
  • Name completion. Shell options and the set built-in.
  • Customizing the environment. The command search path.
  • Shell commands and scripts.
  • Sourcing Shell commands. Execution of a Shell script. UNIX execution of a Shell script, the she-bang.
  • Creation and use of Shell variables. Passing arguments to a Shell script.
  • Differences between exec, background and sub-shells. Using pipelines and lists.

3
An introduction to Shell scripting

  • Basic Shell programming.
  • Shell variables and compound variables. Strings operators.
  • Command substitution, braces expansion, tilde substitution.
  • Initialization of a script, positional parameters, shift and parameters substitution.
  • Flow Control.
  • If/else, for, case, select, while and until. Functions. The set and eval built-ins.

4
Advanced Shell programming and the Korn Shell

  • Typed variables. Arrays, indexed and associative arrays. Typeset, indirect variable references.
  • Input/Output. I/O redirections, the IFS. Reading from the standard input.
  • Process handling. Job control signals and traps. Co-routines and co-process substitution de process.
  • Optimization of the Korn Shell. Function libraries. Development of new Shell built-in
  • Korn Shell debugging. Special debug traps. Using setters and getters.

5
Other UNIX powerful scripting tools

  • Frequently used tools associated with the Shell.
  • Shar, stty, lockfile, tput, grep, find, cut, sort and xargs AST tree walk and coshell. UNIX regular expressions.
  • Analysing text with SED. The command line. Scripting with sed.
  • Overview of the AWK interpreter. Internal variables.
  • Text and database processing.


Customer reviews
4,6 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
NICOLAS T.
25/03/26
5 / 5

Parfait
DAMIEN P.
25/03/26
5 / 5

très satisfait du cours et du support
VINH TONG CHRISTIAN T.
25/03/26
5 / 5

SUPER. répond aux attentes



Publication date : 05/13/2024


Dates and locations
Select your location or opt for the remote class then choose your date.
Remote class

Last places available
Guaranteed date, in person or remotely
Guaranteed session

REMOTE CLASS
2026 : 27 Apr., 27 May, 17 June, 17 June, 17 June, 7 Sep., 7 Sep., 12 Oct., 2 Nov., 30 Nov., 30 Nov., 30 Nov.

PARIS LA DÉFENSE
2026 : 27 Apr., 27 May, 17 June, 7 Sep., 12 Oct., 2 Nov., 30 Nov.