Like every language, Erlang has drawers full of parts that are fun to peruse. These are a very few of the more common ones. If you want much much more, see http://www.erlang.org/doc/reference_manual/users_guide.html.
You can use most Erlang functions from the shell, but these are ones that are exclusive to the shell.
Table A-1. Erlang shell commands
Quits the shell and the Erlang runtime.
Compiles the specified Erlang file.
Displays all variable bindings.
Clears all variable bindings.
Clears specified variable binding.
Prints the history list of commands.
Repeats the command on line
The return value of line
Sets how strict the shell will be in passing errors.
Defines a record type
Defines record types based on the contents of
Clears all record definitions. Can also clear specific definitions.
Lists all current record definitions.
Gets the present working directory.
Lists files at the current location.
Changes to the specified
There are a few Erlang terms you can’t use outside of their intended context.
The Erlang compiler will wonder what you’re trying to do if you use certain keywords as atoms or function names. It will try to treat your atoms as if they were code, and you can get very strange errors. After all, you should be able to have something ...