Co robi HOSTNAME użycie. Konsola nameofhost argument uruchomić.

Czy przydatne?

Polecenie hostname

Wykonanie, użycie: Set or display name of current host system. A privileged user can set the hostname with the nameofhost argument

Opcje wykonania hostname w konsoli

-a, --alias

Display the alias name of the host (if used).

-d, --domain

Display DNS domain name.

-f, --fqdn, --long

Display fully qualified domain name.

-F file, --file file

Consult file for hostname.

-h, --help

Display a help message and then exit.

-i, --ip-address

Display the IP address(es) of the host.

-n, --node

Display or set the DECnet node name.

-s, --short

Trim domain information from the display output.

-v, --verbose

Verbose mode.

-V, --version

Display version information and then exit.

-y, --yp, --nis

Display the NIS domain name. A privileged user can set a new NIS domain name with nameofhost.

Przykłady hostname działanie w Słownik polecenie H

Przykład HOSTNAME użycie :
Jak użyć Print the ID number in hexadecimal of the current host co znaczy.
Przykład HOSTNAME użycie :
Jak użyć System administration command: turns off the computer. Insert a note in the file /var/log/wtmp ; if the system is in runlevel 0 or 6, stop all processes; otherwise, call shutdown -h krzyżówka.
Przykład HOSTNAME użycie :
Jak użyć Display specified file or input in hexadecimal, octal, decimal, or ASCII format. Option flags are used to specify the display format co to jest.
Przykład HOSTNAME użycie :
Jak użyć System administration command. Read or set the hard drive parameters. This command can be used to tune hard drive performance; it is mostly used with IDE drives, but can also be used with SCSI drives słownik.
Przykład HOSTNAME użycie :
Jak użyć user authentication files used by the Apache web server. The -c option is used if you wish to create the file, and will overwrite any existing files rather than update them. The three arguments are czym jest.