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
1 changed file
with
3 additions
and
3 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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# Popd | ||
|
||
> Removes a directory placed on the directory stack via the pushd shell built-in. | ||
> 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` | ||
|
||
- Removes the Nth directory (starting from zero to the left from the list printed with dirs): | ||
- Remove the Nth directory (starting from zero to the left from the list printed with dirs): | ||
|
||
`popd +N` | ||
|
||
- Removes the Nth directory (starting from zero to the right from the list printed with dirs): | ||
- Remove the Nth directory (starting from zero to the right from the list printed with dirs): | ||
|
||
`popd -N` |