≡ Menu

CSH/TCSH shell: printenv Command Display Environment Variables

Fig.01: CSH/TCSH shell: printenv Command Display Environment Variables

To prints and display the names and values of all environment variables or, with name, the value of the environment variable name in Unix/Linux for the CSH or TCSH shell type:

printenv
printenv | grep -i --color home
printenv | grep -i --color user
printenv | more
printenv | less
printenv USER
printenv HOME
printenv
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: