Skip to main content

GL375

Kurstitel: 

Linux Shell Scripting

Untertitel: 

Shellscripting mit Linux Shells

Beschreibung: 

Unix basierte Systeme bieten durch die Shell ein mächtiges Instrument, um Systeme zu unterhalten, kontrollieren und überwachen. Über die Shell hat man direkten Einfluss auf das System und ist in der Lage, sämtliche Befehle auszuführen. Egal ob einfache, wiederkehrende Aufgaben oder komplexe Überwachung, alles kann bequem mit Shellscrpits gelöst werden.

Zielgruppe: 

Angehende System-Administratoren und Programmierer unter Linux.

Kursziel: 

Sie können bestehende Shell Scripts verstehen und eigene erstellen. Sie schreiben eigene Scripts mit regular expressions und automatisieren so Ihre Systemadministrationsaufgaben. Auch sed und awk sind nach diesem Kurs keine Fremdwörter mehr für Sie.

Vorkenntnisse: 

Grundkenntnisse von Linux, Commands und Tools. Bedienung des vi oder emacs Editors. Der Besuch des Kurses "Enterprise Linux Fundamentals" ist von Vorteil.

Kursdetails
Preis (CHF): 
1990
Dauer (Tage): 
2
weitere Informationen
Kursdaten
10 Apr 2012 GL375
31 Okt 2012 GL375
21 Feb 2013 GL375

Inhalt

  1. SHELL SCRIPTING BASICS
    1. Shell Scripting
    2. Example Shell Script
    3. Shell/Environment Variables
    4. Key Environment Variables
    5. General Quoting Rules
    6. Nesting Commands
    7. Variables: Arrays
    8. Positional Parameters
    9. printf
    10. Input and Output
    11. alias
    12. Functions
    13. Colors in Scripts

    Lab Tasks

    1. Shell Variables
    2. Shell Meta-Characters
    3. Command Substitution
    4. Aliases
    5. Bash Login Scripts
    6. Create "userinfo" and "sysinfo" functions
  2. WORKING WITH FILES
    1. Communication Channels
    2. File Redirection
    3. Piping Commands Together
    4. Doing Math
    5. Determining Disk Usage
    6. cron
    7. crontab Format
    8. /etc/cron.*/ Directories
    9. Sending Email with mail

    Lab Tasks

    1. Disk and Filesystem Usage
    2. Connecting Commands
  3. DATA MUNGING
    1. Regular Expression Overview
    2. Regular Expressions
    3. RE Character Classes
    4. RE Quantifiers
    5. RE Parenthesis
    6. Searching Inside Files
    7. Replacing Text Characters
    8. The Streaming Editor
    9. Text Processing with awk
    10. Text Sorting
    11. Duplicate Removal Utility
    12. Extracting Columns of Text

    Lab Tasks

    1. Pattern Matching with Regular Expressions
    2. Extended Regular Expressions
    3. Using Regular Expressions With sed
    4. Create "rmhost" function
    5. Create "showenv" function
    6. Parsing Mail Server Logs
    7. Fixing Incorrect Files
  4. BRANCHING AND LOOPING
    1. Exit Status
    2. Comparisons with test
    3. Conditional Statements
    4. Flow Control: case
    5. The for Loop
    6. Flow Control: while and until Loops
    7. Reading Files with while
    8. Flow Control: select

    Lab Tasks

    1. Reporting User Statistics
    2. Monitoring Filesystem Usage
  5. SECURITY, WHITESPACE AND OTHER GOTCHAS
    1. Gotchas: Maximum Command Length
    2. Gotcha: Whitespace in for Loops
    3. Gotcha: $IFS
    4. Gotcha: Printing in .bashrc
    5. Gotcha: Aliases

    Lab Tasks

    1. Renaming MP3 Files
    2. Split and Display $PATH
    3. A tar-based Backup
  6. WHERE TO FROM HERE?
    1. Waterfall Development
    2. Iterative Development
    3. Getting Help with man and info
    4. $MANPATH, whatis and apropos
    5. Help from Commands and Documentation

    Lab Tasks

    1. Automated Virtual Host Provisioning
X
Gebe Deine Email Adresse ein.
Gebe das Passwort ein welches zu Deiner Email gehört.
Laden