terminal.cab

All commands

hostname

Topic: System and services

Program: hostname

Shows the name of the computer.

Package: basis-info

Usage

hostname [OPTION]...

Description

Show the name of this computer.

Options in the simulator

9 more options of the real program, not in the simulator yet
  • -a, --alias not in the simulator yet

    Explanation to come

  • -A, --all-fqdns not in the simulator yet

    Explanation to come

  • -b, --boot not in the simulator yet

    Explanation to come

  • -d, --domain not in the simulator yet

    Explanation to come

  • -f, --fqdn, --long not in the simulator yet

    Explanation to come

  • -F, --file needs a value not in the simulator yet

    Explanation to come

  • -s, --short not in the simulator yet

    Explanation to come

  • -y, --yp, --nis not in the simulator yet

    Explanation to come

  • -V, --version not in the simulator yet

    Explanation to come

Examples

From the lesson What is a terminal? Reading the prompt
hostname
terminal

Try it in the terminal

Where you learn it

Lessons

All commands