Bash and the Secret of the Lost Folders
This bit me majorly yesterday. Nobody tells Bash when the current folder is renamed.
Consider this in a first shell:
mkdir foo
cd foo
Now fire up a second shell and do this:
mv foo foo.old
mkdir foo
cd foo
touch hellothere.txt
Try this in your first shell ...
