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:
Magrid
2023-10-25 20:32:17 +02:00
committed by GitHub
parent 513420e457
commit 1f03b3642f
2 changed files with 0 additions and 0 deletions

15
pages.zh/common/popd.md Normal file
View File

@@ -0,0 +1,15 @@
# popd
> 通过 pushd shell 内置程序删除目录堆栈中的目录。
- 从堆栈中删除顶部目录,并用 `cd` 跳转到该目录:
`popd`
- 删除第 n 个目录(从零开始,以用 `dirs` 打印的列表左侧开始):
`popd +N`
- 删除第 n 个目录(从零开始,以用 `dirs` 打印的列表右侧开始):
`popd -N`

16
pages.zh/common/pushd.md Normal file
View File

@@ -0,0 +1,16 @@
# pushd
> 将目录放在堆栈上,以便以后访问。
> 另请参阅 `popd` 命令说明,以切换回原始目录。
- 切换到目录并将其添加到堆栈上:
`pushd {{directory}}`
- 切换堆栈上的第一个和第二个目录:
`pushd`
- 通过使第 5 个元素成为堆栈的顶部来旋转堆栈:
`pushd +4`