There are different kinds of commands. The type of command to use in the scenario above is printenv command.
The printenv command is known to be a type of command that often shows the values of environment variables.
Note that to run a few commands with modified environment variables but only for that particular session, the printenv command is recommended.
Learn more about commands from
https://brainly.com/question/25808182