Open main menu

CDOT Wiki β

Changes

Tutorial10: Shell Scripting - Part 1

570 bytes added, 09:00, 14 July 2020
Using Variables in Shell Scripts
===Using Variables in Shell Scripts===
x'''Definition'''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.Reference: https://launchschool.com/books/ruby/read/variables
 
'''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
===Using Control Flow Statements in Shell Scripts===
13,420
edits