2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: n
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-14 03:22:51 +01:00
|
|
|
---
|
2021-05-30 02:57:04 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
Switch to the next shell.
|
2021-05-30 02:57:04 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Signature
|
|
|
|
|
|
|
|
```> n ```
|
2022-02-24 13:17:05 +01:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Make two directories and enter new shells for them, use `n` to jump to the next shell
|
|
|
|
```shell
|
|
|
|
> mkdir foo bar; enter foo; enter ../bar; n
|
|
|
|
```
|
|
|
|
|
|
|
|
Run `n` several times and note the changes of current directory
|
|
|
|
```shell
|
|
|
|
> n
|
|
|
|
```
|