≡ Menu

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

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
 
Tweet itFacebook itGoogle+ itFound an error/typo on this page?

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

{ 0 comments… add one }

Leave a Comment