2019-10-01 16:10:16 +02:00
|
|
|
# exit
|
|
|
|
|
2019-10-02 03:25:30 +02:00
|
|
|
Exits the nu shell. If you have multiple nu shells, use `exit --now` to exit all of them.
|
2019-10-01 16:10:16 +02:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
```shell
|
|
|
|
> exit
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2019-10-02 03:25:30 +02:00
|
|
|
/home/username/stuff/books> shells
|
|
|
|
---+---+------------+----------------------------
|
|
|
|
# | | name | path
|
|
|
|
---+---+------------+----------------------------
|
|
|
|
0 | | filesystem | /home/username/stuff/notes
|
|
|
|
1 | | filesystem | /home/username/stuff/videos
|
|
|
|
2 | X | filesystem | /home/username/stuff/books
|
|
|
|
---+---+------------+----------------------------
|
|
|
|
/home/username/stuff/books> exit
|
|
|
|
/home/username/stuff/videos> shells
|
|
|
|
---+---+------------+----------------------------
|
|
|
|
# | | name | path
|
|
|
|
---+---+------------+----------------------------
|
|
|
|
0 | | filesystem | /home/username/stuff/notes
|
|
|
|
1 | X | filesystem | /home/username/stuff/videos
|
|
|
|
---+---+------------+----------------------------
|
|
|
|
/home/username/stuff/videos> exit --now
|
|
|
|
exits both the shells
|
2019-10-01 16:10:16 +02:00
|
|
|
```
|