| |
|
|
| |
BASH: Shell Scripting
The shell is a particular feature of Linux. The ability to automate
almost anything with the shell makes Linux so flexible. In this course
the participants will learn basic and advanced concepts of BASH -
the standard Linux shell. These concepts are practically trained. After
completing this course participants are able to automate and configure tasks.
A special feature of this course is remote administration via SSH regarding the automatic control of computers over the network.
NutzenThrough this training you will be able to write your own shell scripts, adapt and understand foreign scripts. You get the ability to automate many routine tasks, save a lot of time and avoid errors. Shell scripts are used for ...
- Automatic administration of multiple computers simultaneously
- Automatic software distribution
- Adjust individual automatic installations
- Customized backup scripts
- Plugins for system monitoring with Nagios
- Developers: automatic creation of software releases
- Read and customize boot and startup scripts
- And much more ...
| | |
|
Kursinhalt
Basic shell features
- Editing the command line
- Tips and tricks for the command history
- Special characters and their meaning
- Input and output redirection
- The meaning of stdin, stdout and stderr
- Comfortable word generation with braces
Combination of multiple processes
- Join commands with pipes (eg lsmod | grep usb | wc - lines)
- Command substitution (such as in cd / lib / modules / $ (uname-r))
- Process substitution (such as in diff <(strings / bin / bin true) <(strings / / false))
- Many tricks how to combine them all
Introduction to shell scripting
- Tricks with the echo command
- Embed text files in scripts (cat <)
- Using shell variables
- Environment variables (when do you need export?)
- String processing with the BASH (BASH that can do more than most people believe)
- Debugging shell scripts with traces
Cases and loops
- Use if and then flexibly and properly
- && and || as a convenient alternative
- Different cases
- Loops over word lists (for file in *. jpg; do ...)
- Loops with while and until
- Calculate with shell functions and bc
Advanced shell features
- Evaluation of command line parameters, shift
- Trap signals (eg Ctrl-C!)
- Run programs with exec (without a new subprocess!)
- Libraries and functions
- Text menus with select
- Schedule processes with at, batch and cron
Regular Expressions, sed and awk
- Write simple and extended regular expressions
- Many examples
- Flexible search / replace with sed and regular expressions
- Read and display content with awk
Gzip and tar in shell scripts
- Tricks on how to avoid many problems with tar and gzip
- Be clever: tar and gzip in the pipe
- Avoid temporary files
Dialogue: using simple methods to become graphically
- User-programmed interactive dialogues
- Yes / no query
- Text entry dialogs
- Selection dialogs
SSH in shell scripts
- Basics of Secure Shell
- SSH and automatic login without a password
- Administer computers via SSH and shell scripts from remote
- Send data via SSH
|
|
| | |
|
|
| | |
|
Fakten
| Titel: | BASH: Shell Scripting | | Ort: | München | | Dauer: | 3 Tage | | Termin: | auf Anfrage | | Preis (brutto): | 1.404,20 € inkl. MwSt. (Nettopreis 1.180,- €) | |
|
|
| | |
| | |
|
Themen
- Tricks for interactive mode
- Filters, pipes, command substitution
- Arguments and variables
- Case distinctions
- Loops
- Calculations
- User Input
- Functions and libraries
- Trap signals
- Sed - the stream editor
- Tricks with gzip and tar
- Scripting with Secure Shell (SSH)
|
|
| | |
| | |
|
Zielgruppe
- Linux administrators
- Software Developers
|
|
| | |
| | |
|
Unterlagen
- Skript
- Übungen
- Lösungen
- Übersichtskarte
Unsere Schulungsunterlagen entwickeln wir in unserer eigenen Redaktion exklusiv für unsere Schulungen. Da wir diese kontinuierlich verbessern, und modernisieren, fertigen wir sie grundsätzlich für jede Veranstaltung zeitnah an.  Hochwertige und aktuelle Unterlagen - sehr übersichtlich gestaltet
|
|
| | |
| | |
|
Weitere Leistungen
- Mittagessen im Restaurant
- freie Getränke
- handsortierter Plantagenkaffee
|
|
| | |
| |