How to list all the environment variables in Linux?
When I type the command env
or printenv
it gives me lots of variables, but some variables like LD_LIBRARY_PATH
and PKG_CONFIG
don't show up in this list.
I want to type a command that list all the environment variables including this variables (LD_LIBRARY_PATH
and PKG_CONFIG
)