Originally published at: https://www.cyberciti.biz/faq/unix-linux-print-environment-variable-comamnd/
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 Linux and Unix, how can I print values of all my environment variables?