Sep 272010
Print current environment variables using printenv
Answer:
Besides using env command, you can also use the printenv command, which has the same effect.
# printenv
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=ff8f5b056d8812b8...
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Print current environment variables using printenv
Answer:
Besides using env command, you can also use the printenv command, which has the same effect.
# printenv
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=ff8f5b056d8812b8...