hostname

    Print the current Linux network node name.

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

    #hostname

    Print the current Linux network node name.

    #Usage

    moonx cli/hostname moonx cli/hostname -s

    #Common options

    OptionDescription
    -s, --shortPrint the part before the first dot.
    --helpShow help.
    --versionShow the version.

    #Notes

    Reads /proc/sys/kernel/hostname in the current namespace. Name changes, resolver-derived aliases and other operating systems are unsupported.

    See the compatibility guide for the supported profile.

    Source Files