Linux Shell Scripting Tutorial
Introduction Tools required for shell scripting First shell script Interacting with user Operators Special characters in BASH scripting Variables in Linux BASH scripting Arrays Integer operations floating point operations String manipulation in shell scripting Parameter substitution Command Substitution Conditional statements Looping statements Passing parameters exit status of the script Functions Sourcing filesIntroduction to linux shell scripting
Shell scripting is the language in linux which can be used to do some tasks by automation. It is basically a combination of commands along with loops, conditional statements and functions. We can perform most of the tasks by command line in linux but sometimes logic could get more complicated where programming is required and that’s when linux shell scripting takes over. If you are familiar with any programming language like c, c++, python etc, then you will find it very simple to learn the shell scripting. Benefits of shell scripting- gives you full control over the logic
- provides programming constructs like conditional statements, loops, arrays, variables, functions
- write once, use multiple times
Web development and Automation testing
solutions delivered!!