Course Duration
4 Days
Linux
Authorized Training
IT
Course cost:
£4,505.00
IT Certification Overview
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.
Newto Training Reviews
What Our Happy Alumni Say About Us
I had absolutely no experience in this field, but Newto Training recognised my potential and supported me every step of the way. The real-life scenarios were invaluable in making me job-ready.
The tutors at Newto are consistently patient, clear and more than willing to help. I couldn't have asked for a better learning environment.
From day one I felt welcomed and supported. The live sessions were interactive and the resources well thought-out. I passed my exam on the first attempt thanks to them.
I was nervous about switching careers but the practical approach and continual 1-to-1 support gave me the confidence I needed to succeed."
The training material was excellent, and the instructors really brought the subject to life with hands-on lab work. I feel fully prepared for the workplace."
What impressed me most was the flexibility and responsiveness of the support team. Whenever I had a question, they were there even outside of normal hours.
The course structure was superb. A great mix of theory and practice delivered at a pace that made sense even for beginners. Highly recommended.
Switching into IT felt overwhelming, but Newto Training made the journey manageable and quite enjoyable. Their coaching style is top class.
I particularly appreciated the way complex topics were broken down into manageable chunks, and the tutor actively encouraged questions at every stage.
The live-taught interactive classes set Newto apart from other providers. It wasn't just video-based learning and the real engagement made all the difference.
The cyber course exceeded my expectations. They've been on hand for everything and are constantly in touch with me
The resources provided were spot on and the teaching style made everything easy to understand. I particularly appreciated the extra help offered when needed.
Enrolling with Newto was one of the best decisions I've made. The job-readiness focus, strong teaching and excellent support all stood out.
I completed my SQL course and now feel confident in my skills. The real-world examples and supportive tutors made it all click.
I've just passed my AZ-900 exam thanks to the support received from Ken in the boot camp and his exam preparation sessions.
I've gained a qualification and the confidence to use it in real-world scenarios.
Their commitment to student success is obvious from the personalised guidance to the quality of delivery. I'd recommend them without hesitation.
Every tutor I encountered was professional, encouraging and keen to see me succeed. That personal touch made a big difference.
I'm now in a role I once thought was out of reach, thank you to the all the team
The bootcamps were excellent, we were given practical projects to complete and I feel so much more confident with my coding skills
I had absolutely no experience in this field, but Newto Training recognised my potential and supported me every step of the way. The real-life scenarios were invaluable in making me job-ready.
The tutors at Newto are consistently patient, clear and more than willing to help. I couldn't have asked for a better learning environment.
From day one I felt welcomed and supported. The live sessions were interactive and the resources well thought-out. I passed my exam on the first attempt thanks to them.
I was nervous about switching careers but the practical approach and continual 1-to-1 support gave me the confidence I needed to succeed."
The training material was excellent, and the instructors really brought the subject to life with hands-on lab work. I feel fully prepared for the workplace."
What impressed me most was the flexibility and responsiveness of the support team. Whenever I had a question, they were there even outside of normal hours.
The course structure was superb. A great mix of theory and practice delivered at a pace that made sense even for beginners. Highly recommended.
Switching into IT felt overwhelming, but Newto Training made the journey manageable and quite enjoyable. Their coaching style is top class.
I particularly appreciated the way complex topics were broken down into manageable chunks, and the tutor actively encouraged questions at every stage.
The live-taught interactive classes set Newto apart from other providers. It wasn't just video-based learning and the real engagement made all the difference.
I had absolutely no experience in this field, but Newto Training recognised my potential and supported me every step of the way. The real-life scenarios were invaluable in making me job-ready.
The tutors at Newto are consistently patient, clear and more than willing to help. I couldn't have asked for a better learning environment.
From day one I felt welcomed and supported. The live sessions were interactive and the resources well thought-out. I passed my exam on the first attempt thanks to them.
I was nervous about switching careers but the practical approach and continual 1-to-1 support gave me the confidence I needed to succeed."
The training material was excellent, and the instructors really brought the subject to life with hands-on lab work. I feel fully prepared for the workplace."
What impressed me most was the flexibility and responsiveness of the support team. Whenever I had a question, they were there even outside of normal hours.
The course structure was superb. A great mix of theory and practice delivered at a pace that made sense even for beginners. Highly recommended.
Switching into IT felt overwhelming, but Newto Training made the journey manageable and quite enjoyable. Their coaching style is top class.
I particularly appreciated the way complex topics were broken down into manageable chunks, and the tutor actively encouraged questions at every stage.
The live-taught interactive classes set Newto apart from other providers. It wasn't just video-based learning and the real engagement made all the difference.
The cyber course exceeded my expectations. They've been on hand for everything and are constantly in touch with me
The resources provided were spot on and the teaching style made everything easy to understand. I particularly appreciated the extra help offered when needed.
Enrolling with Newto was one of the best decisions I've made. The job-readiness focus, strong teaching and excellent support all stood out.
I completed my SQL course and now feel confident in my skills. The real-world examples and supportive tutors made it all click.
I've just passed my AZ-900 exam thanks to the support received from Ken in the boot camp and his exam preparation sessions.
I've gained a qualification and the confidence to use it in real-world scenarios.
Their commitment to student success is obvious from the personalised guidance to the quality of delivery. I'd recommend them without hesitation.
Every tutor I encountered was professional, encouraging and keen to see me succeed. That personal touch made a big difference.
I'm now in a role I once thought was out of reach, thank you to the all the team
The bootcamps were excellent, we were given practical projects to complete and I feel so much more confident with my coding skills
The cyber course exceeded my expectations. They've been on hand for everything and are constantly in touch with me
The resources provided were spot on and the teaching style made everything easy to understand. I particularly appreciated the extra help offered when needed.
Enrolling with Newto was one of the best decisions I've made. The job-readiness focus, strong teaching and excellent support all stood out.
I completed my SQL course and now feel confident in my skills. The real-world examples and supportive tutors made it all click.
I've just passed my AZ-900 exam thanks to the support received from Ken in the boot camp and his exam preparation sessions.
I've gained a qualification and the confidence to use it in real-world scenarios.
Their commitment to student success is obvious from the personalised guidance to the quality of delivery. I'd recommend them without hesitation.
Every tutor I encountered was professional, encouraging and keen to see me succeed. That personal touch made a big difference.
I'm now in a role I once thought was out of reach, thank you to the all the team
The bootcamps were excellent, we were given practical projects to complete and I feel so much more confident with my coding skills
Prerequisites
- 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.
Learning Objectives
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
Mastering Bash Scripts Course Content
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
Upcoming Dates
Dates and locations are available on request. Please contact us for the latest schedule.
Advance Your Career with Mastering Bash Scripts
Gain the skills you need to succeed. Enrol in Mastering Bash Scripts with Newto Training today.