Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

291 bytes added, 10:02, 14 July 2020
Using Variables in Shell Scripts
 [[Image:container.png|thumb|right|200px|It is helpful to think of variables as containers that hold information. Their sole purpose is to label and store data in memory. This data can then be used throughout your program.�Reference:]]Variables are used to store information to be referenced and manipulated in a computer program. They also provide a way of labeling data with a descriptive name, so our programs can be understood more clearly by the reader and ourselves.
'''Environment Variables'''
Shell environment variables shape the working environment whenever you are logged in Common shell. Some of these variables are displayed in the table below (you can issue the pipeline command set | more to view all variables

Navigation menu