---

Bash Shell Variables an Introduction

[ Thanks to Andrew
Weber
for this link. ]

“Variables are symbolic names for memory in which you
can assign values, as well as read the contents or manipulate the
contents. Put in a simpler form, variables are a selection of
information you save to be used again. Every variable has a value,
the information you have assigned to that variable. Here is an
example:

#!/bin/bash

PURPOSE=mail
echo $PURPOSE

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis