š„® mooncakes.io
Modules
Skills
CLI
Build queue
Switch page
Modules
Skills
CLI
Build queue
Search
Sign in
0.1.0 (latest)
0.1.0 (latest)
Expand all
Collapse all
README
cli
/
whoami
Find API in this module
/
Collapse all documentation
whoami
Print the current effective user name on Linux.
command-line
moonx
wasm
moon add cli/whoami@0.1.0
Download zip
Author
cli
Version
0.1.0
License
Apache-2.0
Repository
github.com/moonbit-community/cmd
Last updated
14 hours ago
Downloads
10
Dependencies (1)
cli/core
0.11.10
Dependents (0)
No dependents
#
whoami
Print the current effective user name on Linux.
#
Usage
moonx cli/whoami
#
Common options
Option
Description
--help
Show help.
--version
Show the version.
#
Notes
Reads process credentials from Linux procfs. Names must resolve from the first configured local files source in /etc/nsswitch.conf. External directory lookups and named operands are unsupported.
See the
compatibility guide
for the supported profile.
Source Files
main.mbt
Install
moon add cli/whoami@0.1.0
Download zip
Print the current effective user name on Linux.
command-line
moonx
wasm
cli
Apache-2.0
github.com/moonbit-community/cmd
Updated 14 hours ago
10 downloads
Dependencies (1)
cli/core
0.11.10
Dependents (0)
No dependents