The pushd and popd commands also support parameters to manipulate the directory stack.
pushd和popd命令还支持使用参数处理目录堆栈。
Using the directory stack is a good scripting technique to maintain your place in the file system.
使用目录堆栈是一种理想的脚本技术,用于维持您在文件系统中的位置。
You can use the dirs command to display the current directory stack without pushing or popping a new directory.
您可以使用dirs命令来显示当前目录堆栈,而不会压入或弹出新目录。
The directory stack enables you to store one or more directories into a temporary area, and then bring them back again.
目录堆栈使您可以将一个或多个目录存储到某个临时区域中,然后再次调回它们。
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就不会将已存在的目录压入目录堆栈。
Although the directory stack system supports multiple directories, it frequently gets used for only one or two while you temporarily pop somewhere else.
尽管目录堆栈系统支持多个目录,但通常是在您临时弹出到其他目录时将它用于一个或两个目录。
The plug-in is composed of three functions, a handful of shell options, and an alias for popd that persists the directory stack with each pop operation.
这个插件包含三个函数、几个shell选项和popd的别名(为每个弹出操作保留目录堆栈)。
Dirpersist saves and restores your directory stack across shell invocations, thus preserving important state so that you can resume work where you left off.
Dirpersist跨shell调用存储并恢复目录堆栈,因此可以保留重要的状态,让您能够回到原来离开的位置继续工作。
The directory stack functionality is a good example; it becomes invaluable when you want a quick method of visiting a directory without losing your train of thought.
目录堆栈机制就是一个很好的例子;当您希望快速访问某个目录而不打断您的思维时,它就变得非常有价值了。
The directory stack functionality is a good example; it becomes invaluable when you want a quick method of visiting a directory without losing your train of thought.
目录堆栈机制就是一个很好的例子;当您希望快速访问某个目录而不打断您的思维时,它就变得非常有价值了。
应用推荐