Can I use `cd -` multiple times?

No, you cannot use cd - multiple times to navigate through a history of directories. The cd - command only remembers the last directory you were in before the current one. Each time you use cd -, it will toggle between the current directory and the last one, but it does not maintain a history of multiple directories.

If you want to navigate through multiple directories, you would need to use the full path or other navigation commands.

0 Comments

no data
Be the first to share your comment!