Posts Tagged bash environment variables
Linux System Variables
Posted by Abbas in Uncategorized on March 9, 2010
Ever wanted to list down all of system built-in global or local variables stored for your shell? Well, it can be with ‘env‘ and ‘set‘ commands.
The env lists global variables and set lists local ones. Difference between the two is that, global variables are built-in into any shell while local variables include the ones which are set by different applicatons. Such as MAILCHECK (which controls mail checking frequency and informs shell prompt when new mail arrives), only appears in ‘set’ command’s output.



Recent Comments