MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
March
Sun Mon Tue Wed Thu Fri Sat
   
13
   
2016
Months
Mar


Sun, Mar 13, 2016 10:26 pm

hostname options not working

On a CentOS 7 Linux system, I could issue the command hostname and see the name for the system displayed.
# hostname
moonpoint

Yet, if I tried entering any option for the command, I received the error message "Name or service not known".

# hostname -a
hostname: Name or service not known
# hostname -i
hostname: Name or service not known
# hostname -f
hostname: Name or service not known
# hostname --fqdn
hostname: Name or service not known

[ More Info ]

[/os/unix/linux/centos] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo