Open main menu

CDOT Wiki β

Changes

Tutorial10: Shell Scripting - Part 1

3 bytes removed, 09:32, 15 July 2020
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.<br>Some of these variables are displayed via Linux commands in the diagram displayed on the right-side.<br>(you can issue the pipeline command '''set | more''' to view all variables)
Placing a dollar sign ('''$''') prior to the variable name will cause the variable to expand to the value contained in the variable.
13,420
edits