Opleiding: Linux Shell Scripting

In the course Linux Shell Scripting participants learn to write shell scripts in a Linux environment.

Intro Shell Scripting

The Linux Shell Scripting course starts with an explanation of the basic principles of shell scripts. Shell scripts are typically small programs that are executed by a command line interpreter. System administrators often use shell scripts for operations such as file manipulation, program execution and text printing.

Executing Commands

In the course it is explained how to run shell scripts with the exec and fork commands. Furthermore, the syntax of shell scripts is treated. And also the differences between the various shells such as the Bourne, C, Korn and Bash shell are reviewed.

Bash Environment

Special attention is paid to the Bash shell. The various profiles, the setting of local and global variables and the export of variables are discussed. And also command substitution and shell expansion are covered.

Regular Expressions

Then regular expressions, which are ideally suited for pattern matching, are treated. The syntax of regular expressions and the meaning of the various special characters is explained.

sed and awk

Attention is also paid to the sed batch editor and the awk report generator. The sed batch editor allows the creation and modification of a text file to be handled automatically.

Control Flow

Subsequently the Linux Shell Scripting course discusses control flow with conditionals and loops and reading and writing files. The participants also learn to process the input of users in scripts with command line parameters, options and redirection.

Functions

Finally calling and writing functions, passing parameters and collecting return values ​​is on the course program.

Audience Linux Shell Scripting Course

The course Linux Shell Scripting is intended for administrators, developers and testers who want to learn how to write and understand shell scripts in a Linux environment.

Prerequisites Course Linux Shell Scripting

To participate in this course general knowledge of computers and operating systems is required. Programming experience is beneficial for a good understanding.

Realization Training Linux Shell Scripting

The theory is treated on the basis of presentations. The concepts are illustrated with demos. The theory is interspersed with exercises. The course times are from 9.30 to 16.30.

Certification course Linux Shell Scripting

The participants receive an official certificate Linux Shell Scripting after successful completion of the course.

Modules

Module 1 : Shell Scripting Intro

  • What are shell scripts?
  • Types of shells
  • Bourne Shell
  • C Shell
  • Korn Shell
  • Bash shell
  • Invocations
  • Bash Startup Files
  • Interactive Shells
  • Conditionals and Arrays
  • Shell Arithmetic
  • Directory Stack

Module 2 : Executing Commands

  • Fork and Exec
  • Built-in Commands
  • Creating Script Files
  • Shell Syntax
  • Shell Functions
  • Shell Parameters
  • Shell Expansions
  • Redirections
  • Init Script
  • Writing Scripts
  • Executing Scripts
  • Debugging Scripts

Module 3 : Bash Environment

  • Shell Initialization Files
  • /etc/profile and /etc/bashrc
  • User Configuration Files
  • /.bash_profile, /.bash_login and /.bash_logout
  • Global Variables and Local Variables
  • Exporting Variables
  • Reserved Variables
  • Special Parameters
  • Shell Expansion
  • Command Substitution
  • Aliases
  • Bash Options

Module 4 : Regular Expressions

  • What is Grep?
  • Grep and Regular Expressions
  • Pattern Matching
  • Meta Characters
  • Repetition Operators
  • Line Anchors
  • Word Anchors
  • Single Character Match
  • Wildcards
  • Character Ranges
  • Range Expressions
  • Character Classes

Module 5 : sed and awk

  • What is sed?
  • sed Commands
  • Interactive Editing
  • Deleting Lines
  • Range of Lines
  • Non-Interactive Editing
  • Using sed in Scripts
  • What is awk?
  • Print Selected Fields
  • Formatting Fields
  • Special Patterns
  • awk Scripts and Variables

Module 6 : Conditionals

  • Selection Statements
  • if-then-else Statement
  • Checking Files
  • Checking shell Options
  • Testing exit Status
  • String Comparisons
  • Nesting if's
  • Boolean Operations
  • The test Command
  • Compound Condition Testing
  • case Command
  • Initscript with case

Module 7 : Interactive Scripts

  • Displaying Messages
  • echo Built-in
  • Escape Sequences
  • read Built-in
  • Prompt for User Input
  • File Descriptors
  • Redirection of Errors
  • File I/O
  • Closing File Descriptors
  • Here Documents

Module 8 : Repetitive Tasks

  • Iteration Statements
  • for Statement
  • while Statement
  • until Statement
  • Loop control
  • Output Redirection
  • Input Redirection
  • Break and Continue
  • select Built-in
  • shift Built-in

Module 9 : Functions

  • Function Syntax
  • Function Parameters
  • Positional Parameters
  • return Built-in
  • Variables in Functions
  • Array Variables and Functions
  • Functions on Command Line
  • Catching Signals
  • Signals with kill
  • Handling traps
Meer...
€1.299
ex. BTW
Aangeboden door
SpiralTrain
Onderwerp
Shell scripting
Printen
Linux
Niveau
Duur
2 dagen
Looptijd
12 dagen
Taal
en
Type product
cursus
Lesvorm
Klassikaal
Aantal deelnemers
Max: 12
Tijdstip
Overdag
Tijden en locaties
Amsterdam
ma 29 sep. 2025
Eindhoven
ma 29 sep. 2025
Houten
ma 29 sep. 2025
Online
ma 29 sep. 2025
Rotterdam
ma 29 sep. 2025
Zwolle
ma 29 sep. 2025
Amsterdam
ma 24 nov. 2025
Eindhoven
ma 24 nov. 2025
Houten
ma 24 nov. 2025
Online
ma 24 nov. 2025
Rotterdam
ma 24 nov. 2025
Zwolle
ma 24 nov. 2025
Amsterdam
ma 26 jan. 2026
Eindhoven
ma 26 jan. 2026
Houten
ma 26 jan. 2026
Online
ma 26 jan. 2026
Rotterdam
ma 26 jan. 2026
Zwolle
ma 26 jan. 2026
Amsterdam
ma 30 mrt. 2026
Eindhoven
ma 30 mrt. 2026
Houten
ma 30 mrt. 2026
Online
ma 30 mrt. 2026
Rotterdam
ma 30 mrt. 2026
Zwolle
ma 30 mrt. 2026
Amsterdam
ma 25 mei 2026
Eindhoven
ma 25 mei 2026
Houten
ma 25 mei 2026
Online
ma 25 mei 2026
Rotterdam
ma 25 mei 2026
Zwolle
ma 25 mei 2026
Amsterdam
ma 27 jul. 2026
Eindhoven
ma 27 jul. 2026
Houten
ma 27 jul. 2026
Online
ma 27 jul. 2026
Rotterdam
ma 27 jul. 2026
Zwolle
ma 27 jul. 2026
Amsterdam
ma 28 sep. 2026
Eindhoven
ma 28 sep. 2026
Houten
ma 28 sep. 2026
Online
ma 28 sep. 2026
Rotterdam
ma 28 sep. 2026
Zwolle
ma 28 sep. 2026
Amsterdam
ma 30 nov. 2026
Eindhoven
ma 30 nov. 2026
Houten
ma 30 nov. 2026
Online
ma 30 nov. 2026
Rotterdam
ma 30 nov. 2026
Zwolle
ma 30 nov. 2026
Amsterdam
ma 25 jan. 2027
Eindhoven
ma 25 jan. 2027
Houten
ma 25 jan. 2027
Online
ma 25 jan. 2027
Rotterdam
ma 25 jan. 2027
Zwolle
ma 25 jan. 2027
Amsterdam
ma 29 mrt. 2027
Eindhoven
ma 29 mrt. 2027
Houten
ma 29 mrt. 2027
Online
ma 29 mrt. 2027
Rotterdam
ma 29 mrt. 2027
Zwolle
ma 29 mrt. 2027
Amsterdam
ma 31 mei 2027
Eindhoven
ma 31 mei 2027
Houten
ma 31 mei 2027
Online
ma 31 mei 2027
Rotterdam
ma 31 mei 2027
Zwolle
ma 31 mei 2027
Amsterdam
ma 26 jul. 2027
Eindhoven
ma 26 jul. 2027
Houten
ma 26 jul. 2027
Online
ma 26 jul. 2027
Rotterdam
ma 26 jul. 2027
Zwolle
ma 26 jul. 2027
Amsterdam
ma 27 sep. 2027
Eindhoven
ma 27 sep. 2027
Houten
ma 27 sep. 2027
Online
ma 27 sep. 2027
Rotterdam
ma 27 sep. 2027
Zwolle
ma 27 sep. 2027
Amsterdam
ma 29 nov. 2027
Eindhoven
ma 29 nov. 2027
Houten
ma 29 nov. 2027
Online
ma 29 nov. 2027
Rotterdam
ma 29 nov. 2027
Zwolle
ma 29 nov. 2027
Amsterdam
ma 31 jan. 2028
Eindhoven
ma 31 jan. 2028
Houten
ma 31 jan. 2028
Online
ma 31 jan. 2028
Rotterdam
ma 31 jan. 2028
Zwolle
ma 31 jan. 2028
Amsterdam
ma 27 mrt. 2028
Eindhoven
ma 27 mrt. 2028
Houten
ma 27 mrt. 2028
Online
ma 27 mrt. 2028
Rotterdam
ma 27 mrt. 2028
Zwolle
ma 27 mrt. 2028
Amsterdam
ma 29 mei 2028
Eindhoven
ma 29 mei 2028
Houten
ma 29 mei 2028
Online
ma 29 mei 2028
Rotterdam
ma 29 mei 2028
Zwolle
ma 29 mei 2028
Amsterdam
ma 31 jul. 2028
Eindhoven
ma 31 jul. 2028
Houten
ma 31 jul. 2028
Online
ma 31 jul. 2028
Rotterdam
ma 31 jul. 2028
Zwolle
ma 31 jul. 2028
Keurmerken aanbieder
NRTO
UWV scholingsvoucher