如何在 linux 中打印所有环境变量
Issue 欢迎在 Gtihub Issue 中回答此问题: Issue 56
Author 回答者: shfshanyue
$ printenv
XDG_SESSION_ID=10536
HOSTNAME=shanyue
TERM=xterm-256color
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=124.200.184.74 16003 22
SSH_TTY=/dev/pts/0
Issue 欢迎在 Gtihub Issue 中回答此问题: Issue 56
Author 回答者: shfshanyue
$ printenv
XDG_SESSION_ID=10536
HOSTNAME=shanyue
TERM=xterm-256color
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=124.200.184.74 16003 22
SSH_TTY=/dev/pts/0