Bash/SH/KSH: set Command Display Environment Variables and Functions

by on February 4, 2014 · 0 comments· LAST UPDATED February 4, 2014

Fig. 01: Bash/SH/KSH: set Command Display Environment Variables and Functions

To display or print the current values of all your environment variables and functions in Unix and Linux, for the sh, ksh, or bash shell:

 
set
set | grep -i --color home
set | grep -i --color user
set | more
set | less
 
TwitterFacebookGoogle+Found an error/typo on this page? Help us!

Examples and usage: Unix/ Linux: Print Environment Variables Command

{ 0 comments… add one now }

Leave a Comment

Tagged as: