diff --git a/README.md b/README.md index 3184f8f..9041e36 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ variety of languages and technologies. These are things that don't really warrant a full blog post. These are mostly things I learn by pairing with smart people at [Hashrocket](http://hashrocket.com/). -_441 TILs and counting..._ +_442 TILs and counting..._ --- @@ -86,6 +86,7 @@ _441 TILs and counting..._ - [Execute Raw SQL In An Ecto Migration](elixir/execute-raw-sql-in-an-ecto-migration.md) - [Expose Internal Representation](elixir/expose-internal-representation.md) - [List Functions For A Module](elixir/list-functions-for-a-module.md) +- [Quitting IEx](elixir/quitting-iex.md) - [Replace Duplicates In A Keyword List](elixir/replace-duplicates-in-a-keyword-list.md) - [Word Lists For Atoms](elixir/word-lists-for-atoms.md) diff --git a/elixir/quitting-iex.md b/elixir/quitting-iex.md new file mode 100644 index 0000000..dfd7258 --- /dev/null +++ b/elixir/quitting-iex.md @@ -0,0 +1,14 @@ +# Quitting IEx + +There are two ways to quit out of an Interactive Elixir shell. The standard +way is with `Ctrl-c`. This gives you a list of options, one of which is `a` +for _abort_. This will terminate your IEx session and drop you back on the +command line where the process started. + +Additionally, IEx also understands `Ctrl-\` which is control key that will +terminate just about any interactive environment. This command will cause +IEx to immediately exit with no prompt. + +Note: IEx does not, however, respond to `Ctrl-d`. + +[source](http://blog.plataformatec.com.br/2016/03/how-to-quit-the-elixir-shell-iex/)