hostname command Display the fully qualified DNS hostname of the local system: hostname - c - c 1 - g 1 - r 1 - s - p stackname - d - h - ? Notes:1 Only one of the -c, -g, and -r parameters can be specified.