forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# popd | ||
|
||
> Remove a directory placed on the directory stack by the `pushd` command. | ||
- Remove the top directory from the stack and cd to it: | ||
|
||
`popd` | ||
|
||
- Remove the Nth directory (starting from zero to the left from the list printed with `dirs`): | ||
|
||
`popd +N` | ||
|
||
- Remove the Nth directory (starting from zero to the right from the list printed with `dirs`): | ||
|
||
`popd -N` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# popd | ||
|
||
> Remove a directory placed on the directory stack via the pushd shell built-in. | ||
- Remove the top directory from the stack and cd to it: | ||
|
||
`popd` | ||
|
||
- Remove the Nth directory (starting from zero to the left from the list printed with `dirs`): | ||
|
||
`popd +N` | ||
|
||
- Remove the Nth directory (starting from zero to the right from the list printed with `dirs`): | ||
|
||
`popd -N` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# popd | ||
|
||
> Changes the current directory to the directory stored by the `pushd` command. | ||
- Switch to directory at the top of the stack: | ||
|
||
`popd` |