Mastering Bash Scripts Training in Ireland

  • Learn via: Classroom
  • Duration: 4 Days
  • Level: Expert
  • Price: From €5,687+VAT
We can host this training at your preferred location. Contact us!

This course deals comprehensively with the capabilities of BASH and the utilities commonly used in the development of scripts. The training concentrates on a common approach to BASH on variants of UNIX, and currently covers versions of BASH up to 4.1.

Target Audience:

The course is aimed at programmers and analysts operating in Unix environments using BASH, as well as Unix system and network managers. This course is particularly suitable for those companies, which take a multi-vendor open systems view, and is applicable to all flavours of UNIX including Linux, HP-UX, Solaris, AIX, and so on.

  • Delegates should have a good working knowledge of Linux or UNIX systems, which includes a working knowledge of UNIX commands and utilities. This can be gained by attending our UNIX Fundamentals or Linux Essentials courses
  • Delegates should also have a practical understanding of programming concepts such as variables, and decision-making constructs.

At the end of this course you will be able to:

  • Use all significant features of the BASH language
  • Implement advanced variable and array manipulation
  • Develop shell scripts that contain advanced decision making constructs
  • Use the tracing features to speed the development of shell scripts
  • Implement advanced data stream handling by using process substitution
  • Incorporate functions in script design
  • Integrate BASH scripts with those written using other shells
  • Write reliable, maintainable and efficient shell scripts

Chapter 1: Introduction and Revision

  • Command-line structure
  • Shell interpretation
  • Filename expansion
  • Variable and command expansions
  • Quoting
  • Redirection
  • Here documents
  • Pipes

Chapter 2: Using BASH

  • The Bash story (in brief)
  • Bash personalities
  • Shell options
  • Bash shell options
  • Start-up files
  • Some shell variables
  • Aliases and functions
  • Command-line recall and editing
  • Navigation for the impatient
  • echo and help

Chapter 3: Shell Scripts

  • Command types
  • Creating shell scripts
  • Creating processes
  • The exec command
  • Exit status
  • Using # in shell scripts
  • Running shell scripts
  • BASH_ENV
  • Command groups and sub-shells

Chapter 4: Handling Variables

  • Legal variable names
  • Creating variables
  • The read command
  • Exporting variables
  • Special characters
  • Checking the environment
  • eval

Chapter 5: Parameters and Friends

  • Positional parameters
  • Access to positional parameters
  • $*, $@, and $#
  • Changing positional aparmeters
  • $* versus $@
  • Other special variables

Chapter 6: Behaviour Therapy

  • Sending signals,
  • Receiving signals and the trap command
  • Shell tracing methods
  • Tracing shell expansions
  • DEBUG and ERR traps
  • Dry run of a script
  • The script command
  • Error messages are your friends

Chapter 7: Flow Control

  • Testing commands
  • 'if' statements
  • 'while' and 'until' loops
  • Bourne shell test command
  • Korn shell test command
  • Bourne and Korn syntax compared
  • Numeric tests

Chapter 8: Variable Expansion

  • Extracting a sub-string
  • Deleting a sub-string
  • Editing sub-strings
  • Test and set/exit expansions
  • The colon command

Chapter 9: Lofty Variables

  • Variable attributes
  • Compound assignments
  • Arithmetic conditionals
  • Working with floating-point

Chapter 10: More Loops

  • List processing - 'for' loop
  • Processing positional parameters
  • 'break' and 'continue'
  • Infinite loops
  • The 'select' loop
  • Reading in a loop from a file
  • Reading in a loop from a program (process substitution)

Chapter 11: Sophisticated Tests

  • Statement short-cuts
  • I/O redirection with if-then-fi
  • The 'case' statement
  • case flow control - Bash 4
  • Shell pattern matching
  • Extended pattern operators
  • Locales and character classes

Chapter 12: Using Functions

  • Functions vs. scripts
  • Creating functions
  • Listing and removing functions
  • Function parameters and return values
  • Local and global variables
  • Where to store functions
  • Exported functions
  • Using external function libraries

Chapter 13: Professional Scripts

  • Parsing script options with getopts
  • Handling errors
  • Formatting output - printf
  • Tips for shell programmers: programming for change
  • Tips for shell programmers: programming for performance

Chapter 14: Handling Arrays

  • Arrays: the concepts
  • Bash array syntax
  • Array syntax gotchas
  • Initialising arrays
  • Appending to an array
  • Finding array limits
  • Using read with an array
  • Using mapfile/readarray
  • Associative arrays

Chapter 15: Advanced IO

  • The concepts
  • Using file descriptors
  • Block redirection
  • Named pipes (FIFOs)
  • Process substitution

Chapter 16: Basic sed

  • Running sed
  • Basic regular expressions
  • sed line addressing

Chapter 17: Basic awk

  • The awk programming model
  • awk variables
  • awk opeators
  • Comparing awk with shell constructs

Certification:

This course will assist delegates preparing for the following exams:

  • LPI General Linux I - L101


Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Ireland facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

Classroom / Virtual Classroom
08 July 2024
Dublin, Belfast, Cork
4 Days
Classroom / Virtual Classroom
12 July 2024
Dublin, Belfast, Cork
4 Days
Classroom / Virtual Classroom
13 July 2024
Dublin, Belfast, Cork
4 Days
Classroom / Virtual Classroom
15 July 2024
Dublin, Belfast, Cork
4 Days
Classroom / Virtual Classroom
21 July 2024
Dublin, Belfast, Cork
4 Days
Classroom / Virtual Classroom
23 July 2024
Dublin, Belfast, Cork
4 Days
Classroom / Virtual Classroom
15 August 2024
Dublin, Belfast, Cork
4 Days
Classroom / Virtual Classroom
17 August 2024
Dublin, Belfast, Cork
4 Days
Mastering Bash Scripts Training Course in Ireland

Ireland is an island nation located in northwestern Europe. Its history is shaped by its position as a former British colony, as well as its rich cultural heritage, which includes a long tradition of storytelling, music, and dance. Ireland gained independence from Britain in 1922 and has since become a modern, prosperous country.

Today, Ireland is known for its beautiful landscapes, rich cultural heritage, and friendly people. Popular cities within the country include Dublin, Cork, and Galway, each with their own unique charm and character. The population of Ireland is estimated to be around 5 million people, with English and Irish being the two official languages. Ireland is also home to a vibrant tech sector, with many global tech companies choosing to locate their European headquarters in Dublin. With its mix of tradition and modernity, Ireland is a popular destination for visitors from all over the world.

Choose from our extensive selection of IT courses, covering programming, data analytics, software development, business skills, cloud computing, cybersecurity, project management. Our highly skilled instructors will deliver hands-on training and valuable insights at a location of your choice within Ireland.
Dublin is considered the technology center of Ireland. It is home to a thriving tech industry, with many global tech giants such as Google, Facebook, and Microsoft having their European headquarters in the city. Dublin's reputation as a tech hub is due in part to its favorable business environment, with a low corporate tax rate and a skilled workforce that is well-educated in science, technology, engineering, and mathematics (STEM) fields.

Dublin has also been proactive in supporting the growth of the technology sector, with initiatives such as the Dublin Commissioner for Startups and the Dublin Tech Summit, an annual event that brings together technology leaders from around the world.
We are one of the best! Bilginç IT Academy offers online, live virtual and classroom trainings in Ireland. We are delighted to assist market leaders as they shape the ever-changing and evolving digital landscape. We adapt new generation training methodologies to Ireland's needs. Enroll now and take your tech team to new heights.
Bilginç IT Academy’s coding classes in Ireland can help your team reach its full potential. Our courses, which are intended for tech firm employees, provide hands-on training in the most recent coding languages and frameworks, giving your team the knowledge they need to advance your company. Take your tech team to greater levels by enrolling right away.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.