mirror of
https://github.com/jbranchaud/til
synced 2026-01-04 15:48:01 +00:00
Add Quitting IEx as an elixir til
This commit is contained in:
@@ -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
|
warrant a full blog post. These are mostly things I learn by pairing with
|
||||||
smart people at [Hashrocket](http://hashrocket.com/).
|
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)
|
- [Execute Raw SQL In An Ecto Migration](elixir/execute-raw-sql-in-an-ecto-migration.md)
|
||||||
- [Expose Internal Representation](elixir/expose-internal-representation.md)
|
- [Expose Internal Representation](elixir/expose-internal-representation.md)
|
||||||
- [List Functions For A Module](elixir/list-functions-for-a-module.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)
|
- [Replace Duplicates In A Keyword List](elixir/replace-duplicates-in-a-keyword-list.md)
|
||||||
- [Word Lists For Atoms](elixir/word-lists-for-atoms.md)
|
- [Word Lists For Atoms](elixir/word-lists-for-atoms.md)
|
||||||
|
|
||||||
|
|||||||
14
elixir/quitting-iex.md
Normal file
14
elixir/quitting-iex.md
Normal file
@@ -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/)
|
||||||
Reference in New Issue
Block a user