6. Ctrl + c menu actually `erl` shell menu
● (a)bort - abort interactive mode. Eg: Exit
● (c)ontinue - continue interactive mode
● (p)roc info - get processes information
● (i)nfo - get Erlang runtime information
● (l)oaded – list of loaded modules to current shell
● (v)ersion – version of `erl`
● (k)ill – kill process menu
● (D)b-tables - get info about d/ets avaible in current
shell
● (d)istribution - distribution info
8. Ctrl-
What I didn’t know is that you can exit the shell by sending Ctrl-. The shell will
exit immediately. As far as I know, it has the same effect as aborting the
shell in the Break command, it doesn’t affect remote nodes and it also
works outside of iex (for example, you can use to terminate your tests)
9. .iex.exs
Every time IEx starts it will look for a .iex.exs configuration file. If it’s not
present in the current directory, then the user’s home directory
(~/.iex.exs) will be used as the fallback.
10. .iex.exs
1 IO.puts "Hello, World"
$ iex
Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Interactive Elixir (1.4.0) - press Ctrl+C to exit (type h() ENTER for help)
Hello, World
iex(1)>
21. r(module)
Recompiles and reloads the given module.
Please note that all the modules defined in the same file as
module are recompiled and reloaded.