[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /bin/hostname on Debian



On 2008-08-25 11:20:58 -0700, Vwaju wrote:
> According to man hostname
> /bin/hostname -F <filename>
> will "read the hostname from the specified file".
> If you
> /bin/hostname -F <empty file>
> and then
> /bin/hostname --fqdn
> it fails (it's not getting the FQDN from /etc hosts!)

Well, the -F option has the effect to set the hostname. So, it is
normal that it fails (I don't really understand your example).

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


Reply to: