W3cubDocs

/Nushell

sys for system

View information about the system.

Signature

> sys {flags}

Input/output types:

input output
nothing record

Examples

Show info about the system

>sys

Show the os system name with get

> (sys).host|getname

Show the os system name

> (sys).host.name

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/sys.html