Linux & Shell · Environment Variable
USER
USER is an environment variable commonly set for a user session. It is session data, not a reliable proof of operating-system identity.
Last updated
Syntax
USER=valueIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
environ(7)getenv(3)setenv(3)unsetenv(3)su(1)login(1)