mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-19 03:25:44 +00:00
11 lines
231 B
Plaintext
11 lines
231 B
Plaintext
# 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().'
|
|
|