BASH Programming Training Course

Primary tabs

Course Language

This course is delivered in Polish or English.

Course Code

Duration Duration

14 hours (usually 2 days including breaks)

Requirements Requirements

  • Knowledge of Linux at a basic level
  • Recommended completion of the course, "Introduction to Linux"

Overview Overview

The course answers questions:
How does the shell works?
How to write programs in a shell?

Course Outline Course Outline

The simplest script

Choosing the shell (magic number #!, Sha-bang)

Calling the script

External and built-in commands

Some special characters

  • Comment (#)
  • End of Line (;)
  • An empty statement (:)
  • Redirection of input output (>, <, >>)
  • Redirecting output
  • Redirection of input
  • Stream (|)
  • Start the process in the background (&)

Variables and Parameters

  • Destruction of variables (unset)
  • Variable with a null value
  • Save the result to a variable (backquotes ``)
  • Parameters request ($ 0, $ #, $ 1, $ 2, $ 3 ...)
  • Manual shift
  • Quoting.
  • Escape character (\)

Regular Expressions

Conditional statements

  • The if / then
  • The if / then / else
  • Nesting if statements
  • The if / elif
  • case statement
  • Operators
  • Operators and, or (&&, | |)
  • test command

Completing scrypt

The exit statement
Use the status of completion of the program in a script ($?)

Tests and Operators

  • Operators text file
  • Tests the file type
  • Test file attributes

Comparison operators

  • Comparing arithmetic using the command if
  • Integer comparison operators
  • Comparing strings
  • Comparing the complex (and, or)
  • Nesting comparison operators
  • The assignment operator
  • Arithmetic operators
  • Operators operations on bits (bitwise operators)
  • Logical operators
  • Numeric constants

Loopa

  • The loop for / in
  • The command seq
  • The while loop
  • Loop until
  • Controlling the loop (break, continue)

Text Processing

  • Command head, tail
  • Sort, Uniq, Expand, Unexpand
  • Cut, Paste, Join, Wc,Tr
Text search (grep)
Stream Editor (sed)
Interactive programs
  • Read command
  • User select
Features
Sleep command
If the script does not work? (debugging)

Guaranteed to run even with a single delegate!
Public Classroom Public Classroom
Participants from multiple organisations. Topics usually cannot be customised
From 1125PLN
(76)
Private Classroom Private Classroom
Participants are from one organisation only. No external participants are allowed. Usually customised to a specific group, course topics are agreed between the client and the trainer.
From 1125PLN
Request quote
Private Remote Private Remote
The instructor and the participants are in two different physical locations and communicate via the Internet
From 2900PLN
Request quote

The more delegates, the greater the savings per delegate. Table reflects price per delegate and is used for illustration purposes only, actual prices may differ.

Number of Delegates Public Classroom Private Classroom Private Remote
1 1125PLN 1125PLN 2900PLN
2 913PLN 913PLN 1800PLN
3 842PLN 842PLN 1433PLN
4 806PLN 806PLN 1250PLN
Cannot find a suitable date? Choose Your Course Date >>
Too expensive? Suggest your price

Related Categories


Course Discounts

Course Venue Course Date Course Price [Remote/Classroom]
R Warszawa, ul. Złota 3/11 Wed, 2016-09-28 09:00 7588PLN / 4850PLN
Administracja serwerem Apache Tomcat Kraków, ul. Rzemieślnicza 1 Mon, 2016-10-03 09:00 2344PLN / 1736PLN
Programming in Scala Poznan, Garbary 100/63 Tue, 2016-10-04 09:00 3479PLN / 2114PLN
Web Application Development in PHP Szczecin, ul. Małopolska 23 Tue, 2016-10-04 09:00 2688PLN / 2081PLN
Introduction to Linux Poznan, Garbary 100/63 Tue, 2016-10-04 09:00 1640PLN / 1100PLN
Visual Basic for Applications (VBA) in Excel - Introduction to programming Warszawa, ul. Złota 3/11 Tue, 2016-10-04 09:00 1941PLN / 1504PLN
Docker for Developers and System Administrators Gdańsk, ul. Powstańców Warszawskich 45 Wed, 2016-10-05 09:00 2507PLN / 1963PLN
Adobe InDesign Lublin, ul. Spadochroniarzy 9 Wed, 2016-10-05 09:00 1220PLN / 1144PLN
ITIL® Foundation Certificate in IT Service Management Warszawa, ul. Złota 3/11 Mon, 2016-10-10 09:00 2639PLN / 2076PLN
Visual Basic for Applications (VBA) in Excel - Advanced Wroclaw, ul.Ludwika Rydygiera 2a/22 Mon, 2016-10-10 09:00 1689PLN / 1296PLN
Market Forecasting Poznan, Garbary 100/63 Thu, 2016-10-13 09:00 2936PLN / 2112PLN
ITIL® Foundation Certificate in IT Service Management Łódź, ul. Tatrzańska 11 Mon, 2016-10-17 09:00 2639PLN / 2160PLN
Effective working with spreadsheet in Excel Rzeszów, Plac Wolności 13 Tue, 2016-10-18 09:00 598PLN / 737PLN
Market Forecasting Warszawa, ul. Złota 3/11 Wed, 2016-10-19 09:00 2936PLN / 2112PLN
ITIL® Foundation Certificate in IT Service Management Szczecin, ul. Małopolska 23 Wed, 2016-10-19 09:00 2639PLN / 2134PLN
Podstawy inżynierii wymagań i analizy Gliwice ul. Karola Marksa 11 Thu, 2016-10-20 09:00 2735PLN / 1967PLN
A Practical Guide to Successful Pricing Strategies Poznan, Garbary 100/63 Wed, 2016-10-26 09:00 1427PLN / 1093PLN
Creating and delivering presentations in Power Point (social skills workshop) Poznan, Garbary 100/63 Thu, 2016-10-27 09:00 1572PLN / 1121PLN
Agile Project Management with Scrum Kraków, ul. Rzemieślnicza 1 Wed, 2016-11-02 09:00 1746PLN / 1449PLN
Agile Project Management with Scrum Poznan, Garbary 100/63 Mon, 2016-11-07 09:00 1746PLN / 1315PLN
Administration of Linux System Olsztyn, ul. Kajki 3/1 Tue, 2016-11-08 09:00 1940PLN / 1509PLN
SQL Fundamentals Warszawa, ul. Złota 3/11 Wed, 2016-11-09 09:00 1358PLN / 853PLN
Excel For Statistical Data Analysis Warszawa, ul. Złota 3/11 Mon, 2016-11-14 09:00 1343PLN / 1031PLN
Visual Basic for Applications (VBA) in Excel - Advanced Białystok, ul. Malmeda 1 Mon, 2016-11-14 09:00 1689PLN / 1413PLN
Python Programming Szczecin, ul. Małopolska 23 Tue, 2016-11-15 09:00 5790PLN / 3824PLN
Creating and managing Web sites Kraków, ul. Rzemieślnicza 1 Mon, 2016-11-21 09:00 3410PLN / 2836PLN
Graphic techniques (Adobe Photoshop, Adobe Illustrator) Wroclaw, ul.Ludwika Rydygiera 2a/22 Tue, 2016-12-06 09:00 1963PLN / 1470PLN

Upcoming Courses

VenueCourse DateCourse Price [Remote/Classroom]
Warszawa, ul. Złota 3/11Tue, 2016-10-11 09:001250PLN / 838PLN
Olsztyn, ul. Kajki 3/1Tue, 2016-10-11 09:001250PLN / 884PLN
Częstochowa, ul. Wały Dwernickiego 117/121Wed, 2016-10-12 09:001250PLN / 941PLN
Kielce, ul. Warszawska 19Thu, 2016-10-13 09:001250PLN / 941PLN
Tarnów ul. Kościuszki 10 Thu, 2016-10-13 09:001250PLN / 941PLN

Some of our clients