4 ms·
In bash at least, cd with no arguments takes you back to the home directory.
by isbadawi 11y ago
In bash at least, cd with no arguments takes you back to the home directory.
- paublyrne 11y agoYou just saved me about ten seconds a day.
- rdc12 11y agocd - is another nice one, cd to the last working directory (there is a powerful variant using push and pop), but with the - you don't have to remember to push at any point.
- emmelaich 11y agoMore precisely, it takes you $HOME. Which is the same place. But you could make it different.
- deleted 11y ago[deleted]