≡ Menu

printenv command

Unix/ Linux: Print Environment Variables Command

I am a new shell user. How do I print or list environment variables on Linux and Unix-like operating system using shell prompt? In Linix and Unix, how can I print values of all my environment variables?
[click to continue…]

Linux: List All Environment Variables Command

How do I display all my environment variables using bash shell on RHEL / Debian / Ubuntu / CentOS / Fedora / Mint Linux operating systems?
[click to continue…]