Date Created: 2010-06-20 08:08:11 -0500 (Sun, 20 Jun 2010) Date Created: 2016-08-08 19:58:27 -0500 (Mon, 08 Aug 2016) Date Created: 2010-06-20 08:08:33 -0500 (Sun, 20 Jun 2010)

onebeartoe.org - Programming Languages

Bash, also known as the Bourne again shell, is found on Unix and Linux operating systems.  It is used on the command line interface and in scripts saved as text files.

Variables

Variables can be set in Bash scripts with the assignment operator '=' and later used with the '$' character.  An example:

    echo $environment

    environment=development

    echo $environment
            

Output:


    development	
            
Date Created: 2012-03-25 17:46:45 -0500 (Sun, 25 Mar 2012)





back    |    top