Shell Programming Training

Nivå: Advanced
Snittbetyg: 4,8/5 4,80/5 Based on 65 Reviews

In this Shell Programming training course you will learn to customise your working environment for supercharged productivity with KornShell (ksh) and BASH shell (bash) — powerful command-interpreting languages for Linux, UNIX, and Mac OS. You will learn to improve speed by performing multi-file handling and string manipulations without external tools, customise the user environment login scripts, and wrap external file and text handling tools within scripts.Learn Shell programming and gain the skills to write reusable, robust shell scripts, extend your user environment, and automate complex administrative tasks.

Nyckelfunktioner:

  • After-course instructor coaching benefit
  • Learning Tree end-of-course exam included
  • After-course computing sandbox included

Du kommer lära dig att:

  • Write Bash and KornShell scripts for improved productivity
  • Integrate arrays, functions, pattern matching, I/O, branches, loops, and variables
  • Improve speed with multifile handling and string manipulations
  • Create and reuse function libraries

Välj den utbildningsform som passar dig bäst

LIVE, LÄRARLEDD

Klassrum och självstudier

  • 3-day instructor-led training course
  • After-course instructor coaching benefit
  • Learning Tree end-of-course exam included

FÖRETAGSINTERN UTBILDNING

Teamträning

  • Använd denna eller någon annan utbildning i ditt företag
  • Fullskalig programutveckling
  • Levereras när, var och hur du vill
  • Blandade utbildningsmodellerSkräddarsytt innehåll
  • Coaching av ett expertteam

Anpassa kurs och innehåll efter teamets behov

Kontakta oss

Utveckla dig och ditt team med anpassade eller öppna kurser alternativt e-learning

Learning Tree erbjuder kundanpassad utbildning hos er, öppna kurser i Stockholm, London eller Washington, möjlighet att delta via våra Anywhere centers (Malmö, Göteborg, Linköping, Stockholm eller Borlänge) eller olika former av e-learning med lärarstöd. Läs mer på www.learningtree.se/priser .

Klassrum och självstudier

Note: This course runs for 3 dagar

  • 19 - 21 feb 9:00 - 4:30 EST New York / Online (AnyWare) New York / Online (AnyWare) Boka Din Kursplats

  • 17 - 19 jun 9:00 - 4:30 EDT Herndon, VA / Online (AnyWare) Herndon, VA / Online (AnyWare) Boka Din Kursplats

  • 12 - 14 aug 9:00 - 4:30 EDT New York / Online (AnyWare) New York / Online (AnyWare) Boka Din Kursplats

  • 9 - 11 dec 9:00 - 4:30 EST Herndon, VA / Online (AnyWare) Herndon, VA / Online (AnyWare) Boka Din Kursplats

Kurs med startgaranti

När du ser symbolen för “Guaranteed to Run” vid ett kurstillfälle vet du att kursen blir av. Garanterat.

Shell Programming Course Information

  • Recommended Experience

    • User-level UNIX commands
    • Simple file editing with basic text, or GUI-based, editor
    • X Window System and basic UNIX networking
  • Software

    • This course uses Red Hat Enterprise Linux
    • Concepts taught are applicable to all Linux distributions

Shell Programming Course Outline

  • Introduction and Overview

    • Benefits of KornShell and Bash vs. other shells
    • Differences between bash, ksh88 and ksh93
    • Integrating scripts with external command-line tools
  • Bash and KornShell Scripting Fundamentals

    Shell script elements

    • Commands and comments
    • Defining exit values

    Conditional program execution

    • Applying if and case statements
    • Simplifying if logic with elif

    Program loops and iteration

    • Conditional looping with while and until
    • Listing for loops

    Testing files and directories

    • Analysing attributes
    • Checking file size and contents

    Strings and patterns using [[ ]]

    • Comparing strings
    • Verifying the existence of a string
    • Pattern matching and special characters

    Debugging

    • Redirecting standard error
    • set commands for debugging
  • Storing and Accessing Data

    Positional parameters

    • Passing and accessing parameters
    • Manipulating parameters as groups

    Shell variables

    • Defining environment and local variables
    • Specifying default values and error conditions

    Arrays

    • Creating and indexing arrays
    • Processing array contents with special variables
  • Processing Data

    Manipulating strings

    • Extracting substrings
    • Determining string length

    Mathematics

    • Arithmetic for and while loops
    • Writing mathematical expressions: (( )), $(( )) and let
  • Modular Programming with Functions

    Function basics

    • Functions vs. scripts
    • Parameters and variables

    Creating a function library

    • Finding your library with PATH
    • Dot . and source commands
  • Interacting with the Outside World

    Manipulating files and redirecting data

    • Scripting file and directory management
    • Unravelling the secrets of exec: opening and closing multiple files

    Interacting with running processes

    • Handling errors
    • Processing external events
    • Handling and sending signals: trap and kill

    Accessing network servers

    • Connecting to a network server
    • Exchanging data with a network server
  • Creating "Production Quality" Scripts

    Ensuring environmental control

    • Checking and modifying environment variables
    • Using getopts to process command-line options

    Handling user actions

    • Accepting command-line arguments
    • Employing select to create a menu interface
    • Processing keyboard input

Teamträning

Shell Programming Training FAQs

  • Is Shell script a programming language?

    Yes, shell scripts are computer programs run by the Unix shell, which is a command line interpreter. The dialects of shell scripts are scripting languages, and typical operations include file manipulation, program execution, and text printing.

  • What software version is used on this Shell Programming course?

    This course uses a Red Hat Enterprise Linux distribution, however, the concepts covered are applicable to all Linux distributions.

  • I use a different Linux or UNIX distribution, is this Shell Programming course still appropriate for me?

    Yes, the concepts covered in this course are applicable to all Linux distributions.

  • Can I learn Shell Programming online?

    Yes! We know your busy work schedule may prevent you from getting to one of our classrooms which is why we offer convenient online training to meet your needs wherever you want, including online training.

Questions about which training is right for you?

call 08-506 668 00




100% Satisfaction Guaranteed

Your Training Comes with a 100% Satisfaction Guarantee!*

*Partner-delivered courses may have different terms that apply. Ask for details.

New York / Online (AnyWare)
Herndon, VA / Online (AnyWare)
New York / Online (AnyWare)
Herndon, VA / Online (AnyWare)
Hur föredrar du att bli kontaktad:

Please Choose a Language

Canada - English

Canada - Français