Project

General

Profile

Actions

Feature #3430

closed

Support "hostname --fqdn"

Added by Jim Klimov over 8 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2012-12-25
Due date:
% Done:

80%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

I've recently noted that Linux systems can provide the short host name with "hostname" and for programs which require a domain - an FQDN with "hostname --fqdn".

This is a nicer solution than using something like "`hostname`.`domainname`" (or building conditional clauses to rule out the ending period if domainname is empty), and would help porting some Linux startup scripts for (in-house) programs that use this syntax of hostname invokation.


Related issues

Related to illumos gate - Bug #3758: RFE: Would like "hostname -s"ClosedChris Nehren2013-05-02

Actions
Actions

Also available in: Atom PDF