Files
tldr/pages.zh/common/popd.md
K.B.Dharun Krishna f1aa0a8fe5 Revert "pages/*: add standard translation and links (#11331)" (#11374)
This reverts commit 39642c3fed80aaed7212bca6b7cc4c345ed229ee.
2023-11-06 14:02:32 +05:30

355 B

popd

通过 pushd shell 内置程序删除目录堆栈中的目录。

  • 从堆栈中删除顶部目录,并用 cd 跳转到该目录:

popd

  • 删除第 n 个目录(从零开始,以用 dirs 打印的列表左侧开始):

popd +N

  • 删除第 n 个目录(从零开始,以用 dirs 打印的列表右侧开始):

popd -N