[erlang-questions] erl -name foo and hostname
Grzegorz Junka
list1@REDACTED
Mon May 23 12:27:04 CEST 2016
What does 'hostname' say?
On 23/05/2016 10:10, Dmitry wrote:
> Hi
>
> cat /etc/hosts
> 127.0.0.1 localhost.localdomain localhost
> ::1 localhost6.localdomain6 localhost6
> 192.168.175.135 kazootest2.mydomain.local kazootest2
>
> [root@REDACTED ~]# cat /etc/sysconfig/network
> NETWORKING=yes
> NETWORKING_IPV6=no
> HOSTNAME=kazootest2.mydomain.local
>
> [root@REDACTED ~]# erl -name foo
> Erlang R15B03 (erts-5.9.3.1) [source] [64-bit] [async-threads:0]
> [hipe] [kernel-poll:false]
>
> Eshell V5.9.3.1 (abort with ^G)
> (foo@REDACTED)1>
>
>
> Why dous it shows kazootest2.localdomain?
>
> Any help appreciated
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160523/2e3c8284/attachment.htm>
More information about the erlang-questions
mailing list