User Tools

Site Tools


ubuntu:environment_variables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:environment_variables [2019/12/15 20:58] peterubuntu:environment_variables [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 10: Line 10:
 ---- ----
  
-===== Commands for Environment Variables =====+===== Commands for managing Environment Variables =====
  
 Environment variables are case-sensitive and usually they are created in upper case.  Environment variables are case-sensitive and usually they are created in upper case. 
  
 ^Command^Description^ ^Command^Description^
-|echo $VARIABLE|To display value of a variable| +|echo $VARIABLE|To display value of a variable.
-|printenv|Displays all or part of environment variables|+|printenv|Displays all or part of environment variables,|
 |env|Displays all exported environment variables.| |env|Displays all exported environment variables.|
-|VARIABLE_NAME= variable_value|Create a new variable| +|VARIABLE_NAME= variable_value|Create a new variable.
-|set|Display the name and value of each shell variable| +|set|Display the name and value of each shell variable.
-|unset|Remove a variable| +|unset|Remove a variable.
-|export Variable=value|To set value of an environment variable|+|export Variable=value|To set value of an environment variable.|
  
 ---- ----
ubuntu/environment_variables.1576443488.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki