019 - Shell Scripting #01 | Introduction To Shell Scripting | Working With Arguments And Variables

Published: 12 June 2021
on channel: CommandLine
3,646
39

Welcome to the first chapter of Linux shell scripting. In this chapter, we will briefly learn about the shell, shell types and basics of shell scripting. We will then use VI, command line based text editor, to write our first shell script and learn how to execute the script. We will also learn how to take arguments as an input and how to display their value using echo command. We will then quickly look into different environment variables and work with user-defined variables as well.

User-defined variables can have a single value but it can also hold multiples values if you define them as an array. We will learn how to define an array, how to define elements in the array, how to call those elements in shell script and how to remove elements from the array if necessary. Finally, we will look into setting up the PATH variable so that we could run our script as if they were commands.

#Linux #ShellScripting #BashScripting


Watch video 019 - Shell Scripting #01 | Introduction To Shell Scripting | Working With Arguments And Variables online without registration, duration hours minute second in high quality. This video was added by user CommandLine 12 June 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,646 once and liked it 39 people.