Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

How to do specific things with the ocs project.


Access the Erlang CLI shell

The command line interface (CLI) may be reached in a few ways. The recommended method is to start a local Erlang node, connect to the running node and run a remote shell. This can be accomplished with the following command at a Linux shell:

erl -sname $LOGNAME -hidden -remsh ocs@`hostname`

You may need to first install a copy of the running node’s cookie which you can do with:

touch ~/.erlang.cookie
sudo cp /home/otp/.erlang.cookie ~/
chmod 400 ~/.erlang.cookie

Once at the Erlang CLI shell lines are terminated by the . (period) character. For more information see chapter 2.2 of the Getting Started with Erlang User’s Guide.

To quit type ^G (control-G) and then at the next > prompt type q and enter.

  • No labels