mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
popd: add page (#1517)
This commit is contained in:
commit
40243341f6
15
pages/linux/popd.md
Normal file
15
pages/linux/popd.md
Normal file
@ -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`
|
15
pages/osx/popd.md
Normal file
15
pages/osx/popd.md
Normal file
@ -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`
|
7
pages/windows/popd.md
Normal file
7
pages/windows/popd.md
Normal file
@ -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`
|
Loading…
Reference in New Issue
Block a user