Project

General

Profile

Bug #3758

RFE: Would like "hostname -s"

Added by Chris Nehren over 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2013-05-02
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

The -s flag (only print the hostname, not the fqdn) is available in other Unixes and would be nice to have here.


Related issues

Related to illumos gate - Feature #3430: Support "hostname --fqdn"Closed2012-12-25

Actions

History

#1

Updated by Chris Nehren over 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 70

Got the code done, needs review. Waiting on 3430 (this bug modifies the same lines in the files, so a conflict is inevitable).

#2

Updated by Gary Mills over 6 years ago

I'd recommend combining the two changes into one. You can certainly have one webrev that references two bug reports.

#3

Updated by Chris Nehren over 6 years ago

  • Status changed from In Progress to Feedback

Sent review request.

#4

Updated by Andrew Stormont over 3 years ago

#6

Updated by Andrew Stormont over 3 years ago

  • Status changed from Feedback to Rejected

Closing as rejected based on feedback received on the mailing list.

#7

Updated by Electric Monk over 3 years ago

  • Status changed from Rejected to Closed
  • % Done changed from 70 to 100

git commit 5bebc427c96eee7cdbec9df37a3a6fdead337aba

commit  5bebc427c96eee7cdbec9df37a3a6fdead337aba
Author: Lauri Tirkkonen <lotheac@iki.fi>
Date:   2016-05-23T14:48:22.000Z

    3758 RFE: Would like "hostname -s" 
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF