FormaServe – How to write BASH shell scripts on the IBM i – Using Functions

In the fourth part of our BASH bit size training set, we will take a look at how we can use functions to make our scripts more manageable & use less code, on our favourite server the IBM i.

This video is part of our learning path for BASH programming on the IBM i.

Our training video on Shells on IBM i can be found at https://youtu.be/9rL9U8hfIHA

⌚ Timestamps
— Contents —

00:00 – Intro
00:54 – Course modules
01:13 – Using functions
03:09 – Function examples
04:04 – Passing parameters into functions
04:53 – Example of using parameter with functions
05:59 – Variable scoping
06:46 – Example of variable scoping
08:33 – Function Exit Status
09:29 – Example of function exit codes
10:18 – What’s coming up
10:42 – Check out learning.formaserve.co.uk & Powerwire.eu
11:04- Still training!
11:59 – Wrap Up!

? Connect with us on social
– LinkedIn: https://linkedin.com/in/andyyouens
– Twitter: https://twitter.com/AndyYouens
– Twitter: https://twitter.com/FormaServe
– Website: https://learning.formaserve.co.uk
– Website: https://www.formaserve.co.uk

? Subscribe to my YouTube channel https://www.youtube.com/FormaServeSystemsLtdLoughton?sub_confirmation=1
? Additional resources
– GitHub: https://www.github.com/AndyYouens/f_learning
?Playlists
– BASH Bite Sized Training: https://youtu.be/l0sTIz7tlgI
☕ Could really do with a coffee after producing this video – https://ko-fi.com/andyyouens

Verified by MonsterInsights