Jan Engelhardt wrote On 25-05-2006 21:59:
# hostname --fqdn
shanghai.hopto.org
Ahh. I wonder how portable this is. We could certainly make the kernel
build use "hostname --fqdn" if that works across all versions.
That code hasn't changed in a looong time, and I suspect that "--fqdn"
didn't exist back when..
Doesn't work here :
cartman@southpark ~ $ hostname --fqdn
hostname: invalid option -- -
Try `hostname --help' for more information.
cartman@southpark ~ $ hostname --version
hostname (GNU coreutils) 5.96
20:56 shanghai:~ > hostname --version
net-tools 1.60
hostname 1.100 (2001-04-14)
Interesting.
So coreutils & net-tools conflict with each other. How nice :/
/ismail
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]