Manage directory navigation with pushd and popd.
使用pushd和popd管理目录导航。
PUSHD Saves the current directory then changes it.
保存当前目录,然后更改。
Two of my favorite productivity tools are pushd and popd.
我最喜欢的两款提高工作效率的工具是pushd和popd。
Restores the previous value of the current directory saved by PUSHD.
还原由PUSHD保存的当前目录的前一个值。
POPD Restores the previous value of the current directory saved by PUSHD.
还原由PUSHD保存的当前目录的前一个值。
The pushd and popd commands also support parameters to manipulate the directory stack.
pushd和popd命令还支持使用参数处理目录堆栈。
Listing 4 shows how you can use the pushd and popd commands to quickly navigate the directory tree.
清单4显示如何使用pushd和popd命令在目录树中快速导航。
Note that this scheme works seamlessly with the pushd and popd commands as well, not just with cd while changing folders.
注意,这个方案不但能够反映cd命令所做的文件夹切换,对于pushd和popd 命令也是有效的。
For example, if you enable the Z shell option pushd_ignore_dups, pushd won't push a directory onto the directory stack if it's already there.
例如,如果已经启用了Zshell选项pushd_ignore_dups, pushd就不会将已存在的目录压入目录堆栈。
The pushd and accompanying popd are used to change to a new directory before processing and change to the previous directory after processing, respectively.
pushd和对应的popd分别用于在处理前切换到新目录和在处理后切换到先前的目录。
The pushd and accompanying popd are used to change to a new directory before processing and change to the previous directory after processing, respectively.
pushd和对应的popd分别用于在处理前切换到新目录和在处理后切换到先前的目录。
应用推荐