W3cubDocs

/Nushell

n for shells

Switch to the next shell.

Signature

> n

Examples

Make two directories and enter new shells for them, use n to jump to the next shell

>mkdirfoobar;enterfoo;enter../bar;n

Run n several times and note the changes of current directory

>n

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/n.html