When navigating the file system of my USB drive in the terminal, some weird things happen that didn't used to happen on my Raspberry Pi B+. I'm not quite sure how to articulate this, so I'll just show what is
I open the command line and navigate to my USB drive with
cd /media/pi/MYUSB/I use
cdto enter a folder of the USB drive withcd /myFolder/myOtherFolderI navigate backwards to
myFolderwithcd ..I try to navigate again to
myOtherFolderwithcd /myOtherFolder. However, this raises the bash errorbash: cd: /myOtherFolder: no such file or directory
I have no idea what or why this is happening, but I used to be able to do this without the error message. Sometimes I have power outages that cause the Raspberry Pi to shut off with the USB drive in it, so I have "ghost USB drives" like the ones described in Ghost USB drives left behind when power is cycled off and on.
.refers to the current directory. This is important when one wishes to run a command stored in the current directory: Simply typingfoowill cause the$PATHto be searched, and the first directory listed in it that contains a file namedfoowill be executed. But typing./fooinstructs the shell to explicitly look in the current directory rather than search$PATH. – Monty Harder Mar 04 '19 at 19:16