The current working directors is, e.g. /media/username/ExtHDD/
.
When disconnecting and re-connecting that HDD, commands such as ls
do not work properly anymore.
$ -????????? ? ? ? ? ? Filename.txt
Why do I have to use cd / ; cd /media/username/ExtHDD/
before the commands work again?