bug#8500: util: where am i (original) (raw)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: | Bob Proulx |
---|---|
Subject: | bug#8500: util: where am i |
Date: | Thu, 14 Apr 2011 15:48:20 -0600 |
User-agent: | Mutt/1.5.21 (2010-09-15) |
severity 8500 wishlist thanks
Panagiotis Tsiamis wrote:
Request for adding one more feature on the utillity whoami.
The feature should be able to called by "where am i" or "whereami"
And should locate: a) System hostname
$ hostname
b) ip of the system
You tickled a pet issue of mine. A host rarely has just one IP address. This would need to be a list of addresses.
$ ip addr show | awk '/inet/{print$2}'
A host has a number of network interfaces and each network interface has a number of IP addresses. This results in a host potentially having quite a few associated addresses!
On my network all simple hosts have four IP addresses. A more complicated host has seven IP addresses. One of the most interesting hosts has 17 IP addresses.
c) current working directory
$ pwd
d) anything else that could be usefull for identify where you are located currently.
$ gpslocation # <-- Just joking here.
Bob
- bug#8500: util: where am i, Panagiotis Tsiamis, 2011/04/14
- bug#8500: util: where am i, Bjartur Thorlacius, 2011/04/14
* bug#8500: util: where am i, Panagiotis Tsiamis, 2011/04/15
* bug#8500: util: where am i, Erik Auerswald, 2011/04/15
* bug#8500: util: where am i, Bob Proulx, 2011/04/15
* bug#8500: util: where am i, Panagiotis Tsiamis, 2011/04/18
* bug#8500: util: where am i, Cédric Arbogast, 2011/04/18 - bug#8500: util: where am i,Bob Proulx <=
- bug#8500: util: where am i, Bjartur Thorlacius, 2011/04/14
- Prev by Date:bug#8500: util: where am i
- Next by Date:bug#8500: util: where am i
- Previous by thread:bug#8500: util: where am i
- Next by thread:bug#8507: Bug report coreutils 8.11, i386-pc-solaris2.7
- Index(es):