popd, pushd, oathtool: move to the correct Chinese folder (#11253)
* popd: Move from zh/osx to zh/common * pushd: Move from zh/osx to zh/common * oathtool: Move from zh/osx to zh/common
This commit is contained in:
15
pages.zh/common/popd.md
Normal file
15
pages.zh/common/popd.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# popd
|
||||
|
||||
> 通过 pushd shell 内置程序删除目录堆栈中的目录。
|
||||
|
||||
- 从堆栈中删除顶部目录,并用 `cd` 跳转到该目录:
|
||||
|
||||
`popd`
|
||||
|
||||
- 删除第 n 个目录(从零开始,以用 `dirs` 打印的列表左侧开始):
|
||||
|
||||
`popd +N`
|
||||
|
||||
- 删除第 n 个目录(从零开始,以用 `dirs` 打印的列表右侧开始):
|
||||
|
||||
`popd -N`
|
Reference in New Issue
Block a user