Learn Bash Shell Scripting NOW! Lesson 3 – Bash Functions



Learn Bash Shell Scripting NOW! Lesson 3 – Bash Functions

Learn Bash Shell Scripting NOW! Lesson 3 - Bash Functions

This is Lesson 3 in a series of videos about bash scripting on Linux. In this video, we cover functions in bash. I show you examples of how to create functions, call them, and pass arguments or parameters to them as well.

Beginners Guide to Bash Scripting Playlist: https://www.youtube.com/watch?v=DC76gEXQDDI&list=PL-MzrbbGTC8saytC9re9ook_NwswyVwu5

Bash Scripting on the credibleDEV Blog: https://credibledev.com/beginners-guide-to-bash-scripting/

00:00 – Intro
01:45 – Bash Function Syntax
03:30 – Arguments or Parameters in Bash
05:29 – Calling a Bash Function
07:15 – Global vs Local Variables
08:10 – Returning Values
10:26 – Return an Exit Code
12:10 – Assign a Function to a Variable

Stay tuned for future videos on this topic and be sure to check out the credibleDEV blog as posts are made there before videos are created.

credibleDEV Blog: https://credibledev.com
Twitter: https://twitter.com/thecredibleDEV

#BASH #LearnBASH #bashscripting

Comments are closed.