4 ms·
Technically `cd ~` will take you to your home directory, in this case it was /root as they were running their examples as root. A useful feature in Bash is tha
by scrapheap 4y ago
Technically `cd ~` will take you to your home directory, in this case it was /root as they were running their examples as root.
A useful feature in Bash is that `cd -` will take you to the directory you were in previously.
- necovek 4y agoJust typing "cd" will take you to your $HOME too. This article is pretty bad for actually understanding things. Nope, those are not multi-line comments, it's just that those operations have no effects when used that way, but they were not designed for multi-line commenting.