uname

    Print selected kernel information.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.1
    License
    Apache-2.0
    Last updated
    13 hours ago
    Downloads
    9

    #uname

    Print selected kernel information.

    #Usage

    moonx cli/uname moonx cli/uname -snrv

    #Common options

    OptionDescription
    -s, --kernel-namePrint the kernel name.
    -n, --nodenamePrint the network node hostname on Linux.
    -r, --kernel-releasePrint the kernel release on Linux.
    -v, --kernel-versionPrint the kernel version on Linux.
    -o, --operating-systemPrint the GNU operating-system label.
    --helpShow help.
    --versionShow the version.

    #Notes

    Linux reads kernel fields from procfs. -o emits the GNU operating-system label on Linux and macOS. macOS also supports the Darwin kernel name. Windows, machine architecture and the full -a form are unavailable.

    See the compatibility guide for the supported profile.

    Source Files