[erlang-questions] Quick connect to another node with erl

Ward Bekker (TTY) <>
Sun Jan 20 21:17:31 CET 2013


I want to connect to the shell on node  My current solution (see below) needs some user switch commands. Is there a way using CL arguments? Couldn't find a mention in the erl man page.




localhost ward$ erl -sname foo
Erlang R15B02 (erts-5.9.2) [source] [64-bit] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:false] [dtrace]

Eshell V5.9.2  (abort with ^G)
()1> net_adm:ping().
User switch command
 --> r 
 --> c
Eshell V5.9.2  (abort with ^G)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130120/71b61617/attachment.html>

More information about the erlang-questions mailing list