whoami
For platform.
Get the current username using uutils/coreutils whoami.
Command Type
built-in
Signature
> whoami {flags}
Input/output types:
| input | output |
|---|---|
| nothing | string |
Examples
Get the current username.
> whoami
Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.