Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Linux List Environment Variables

$ printenv - prints a list of all environment variables, one
$ printenv HOME - to display the value of the HOME environment variable you would run
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #Linux #List #Environment #Variables
ADD COMMENT
Topic
Name
1+2 =