printenv shows the current environment variables.
Many shells provide their own version of this command. Check the docs of your shell.
All of these relate to the context of the current session.
- pwd - show the current working directory.
- stty - show or alter terminal settings
- tty - identify the controlling terminal