3 ms·
$ pushd . $ cd / Why not just $ pushd / ? Also, it's not linux-specific, but bash-specific.
by cema 15y ago
$ pushd .
$ cd /
Why not just
$ pushd /
?
Also, it's not linux-specific, but bash-specific.
- jodrellblank 15y agoIt's not Linux or Bash specific, pushd and popd work on Windows too, and work on network shares, e.g. c:\> pushd \\server\share z:\>
- nuclear_eclipse 15y agoIt's still provided by your shell, not the OS. Windows' cmd.exe just happens to provide pushd/popd, same as bash, zshell, etc.
- user24 15y ago$ pushd / oh, neat. Thanks.