# 如何在 linux 中打印所有环境变量

Issue

欢迎在 Issue 中交流与讨论: Issue 56 (opens new window)

$ 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
Last Updated: 1/17/2021, 2:02:56 PM