undefined

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Bash - Variables

# Example: setting a variable
a=3; echo a; echo $a
# Example: environment variables
# type the active shell program
echo $SHELL
# Example: the PS1 environment variable
export PS1="% "
export PS1="$ "
export PS1="\\u@\h \\W>" # set prompt to user@host dir>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content