2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-03 15:40:17 +00:00
cheat.sheets/sheets/erl

11 lines
231 B
Plaintext
Raw Normal View History

2017-06-15 18:58:23 +00:00
# erl
#
# Start Erlang runtime system
# Execute compiled BEAM file (helloworld.beam)
erl -noshell -s helloworld start -s init stop
# Run code from the command line
erl -noshell -eval 'io:fwrite("Hello, World!\n"), init:stop().'