≡ 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
Share this tutorial on:

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

{ 0 comments… add one }
Security: Are you a robot or human?
You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: