Professional Documents
Culture Documents
History of Shell: -
In below diagram we can see how to assign the variable and print its value by using $
https://www.facebook.com/groups/devopsg/
There exists few readonly variables whose value can’t be changed by any user:-
https://www.facebook.com/groups/devopsg/
To check the bash version use command:-
bash –version
https://www.facebook.com/groups/devopsg/
https://www.facebook.com/groups/devopsg/
https://www.facebook.com/groups/devopsg/
https://www.facebook.com/groups/devopsg/
Note: We can’t create local variable outside of a function, it can only be created inside the function
To get the list of function defined by user use the command: - declare -f
https://www.facebook.com/groups/devopsg/
https://www.facebook.com/groups/devopsg/
https://www.facebook.com/groups/devopsg/
https://www.facebook.com/groups/devopsg/
Standard Exit code in shell: -
0 → OK
1 → General Error
https://www.facebook.com/groups/devopsg/
Shell Start-up cycle: -
https://www.facebook.com/groups/devopsg/
https://www.facebook.com/groups/devopsg/
https://www.facebook.com/groups/devopsg/
https://www.facebook.com/groups/devopsg/