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 filesCommand substitution in linux shell scripting
Command substitution in Linux Shell Scripting can be done in 2 ways.
x=`ls`
x=$(ls)
In command substitution, output of the command is assigned to the variable.Web development and Automation testing
solutions delivered!!