# Store the current environment in a file. printenv > environment.txt # Print the file on the standard out. cat environment.txt