You can use any one of the following command to display environment variables and their values using bash shell. printenv print all or part of environment variables env print all exported environment or run a program in a modified environment set print the name and value of each shell variable export to set environment variables […]