Changes

Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

No change in size, 09:37, 10 March 2021
Using Variables in Shell Scripts
'''Environment Variables'''
[[Image:environment.png|thumb|right|500px|Examples of using '''Environment''' and '''User Defined''' variables.]]Shell '''environment variables''' shape the working environment whenever you are logged in Common shell. Some of these variables are displayed via Linux commands in the diagram displayed on the right-side.<br><br>You can issue the pipeline command <span style="font-family:courier;font-weight:bold">set | more</span><br>to view all variables.<br><br>Placing a dollar sign ("<span style="font-family:courier;font-weight:bold">$</span>) " prior to the variable name will cause the variable to expand to the value contained in the variable.
13,420
edits

Navigation menu