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

Показать описание
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
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