Crate whoami [−] [src]
Crate for getting the user's username and realname.
Enums
DesktopEnv |
Functions
computer |
Get the computer's pretty name. |
env |
Get the Desktop Environment. Example: "gnome" or "windows" |
hostname |
Get the computer's hostname. |
os |
Get the OS. Example: "Windows 10" or "Fedora 26 (Workstation Edition)" |
realname |
Get the user's full name. Format: |
username |
Get the user's username. |