Linux Shell Scripting

How to create and debug shell scripts, sed, awk, interactive scripts and signals and how to combine and use this information in scripts that make using Linux so simple.



Référence de la formation

KLI006

Niveau

Intermediate

Nombre de jours

2 days

Prix

1.390,50 € HT

Lieu de la formation

V: v-learning, virtual class



Pre-requis

Introduction to Linux or Linux Fundamentals or equivalent. Linux system administration or equivalent.

Public

Anyone needing detailed knowledge of the Linux shell and scripting. Also recommended for anyone using Linux.

Objectifs de la formation

This course teaches how to create and debug shell scripts, sed, awk, interactive scripts and signals and how to combine and use this information in scripts that make using Linux so simple. Linux Shell Scripting demonstrates the power of Linux and shows how the different parts of the operating system link together. This course is a must, however you use Linux.

Contenu du cours

Table 1: KLI006 - Course Contents
Chapter Description
Introduction • The shell
• Common shells
– bash, sh, ksh, csh, tcsh
• Shell building blocks
• Initialization files
• Building blocks
• Some sample scripts
Writing and debugging scripts • Creating and running a script
• Script basics
• Debugging scripts
The Bash environment • Shell initialization files
• Variables
• Quotes
• Arithmetic
• Aliases
• Expansion and substitution
Regular expressions • Using regular expressions
• Metacharacters
• Finding patterns
Conditional statements • If
• Using a command’s exit status
• If/then/else and if/then/elif/else
• Nested if statements
• Boolean expressions
• The case statement
The sed stream editor • Introduction
• Interactive use
• Regular expressions and stream editing
• Using sed in scripts
The awk utility • What is (g)awk?
• Interactive use
• Formatting text with awk
• Regular expressions with awk
• Awk in scripts
Writing interactive scripts • Prompting for user input
• Reading user input
• Using file descriptors
Iterations • For, while and until loops
• Break and continue
• Select
More variables • Arrays
• Read-only
• Set
Functions • Creating functions
• Passing arguments
• When to use functions
Signals • What are signals?
• Catching signals with trap
• Disable user interrupts
The End • Summary
• Q&A
• Evaluation

Dates


29 Oct 2020 au 30 Oct 2020


NOTE :
ATTENTION CETTE FORMATION EST SUR MESURE
CE COURS EST REALISABLE TOUTE L'ANNEE AVEC UN MINIMUM DE 5 PARTICIPANTS


Des questions ?

+33 (0) 950 20 91 64


Inscription ou Demande de devis