Sign in to confirm you’re not a bot
This helps protect our community. Learn more
What are Functions in Bash? [17 of 20] | Bash for Beginners
104Likes
5,670Views
2023Feb 15
Welcome to the Bash for Beginners Series where you will learn the basics of Bash scripting. In this video, Gwyn explains what functions in bash are, how to declare on in a bash script, variable scopes, and how to pass arguments to a function. https://aka.ms/bashforbeginners 0:00 What are Functions 1:20 How to define a Function 2:20 How to use variable scopes 3:31 Using a conditional statement in a Function 4:00 Using parameters in a Function 5:35 Running our script Follow Gwyn: Follow Josh: Resources: #linux #bash #shell #commandline #opensource

Follow along using the transcript.

Microsoft Developer

589K subscribers