I'm SSH'ing into a machine to complete some work. In my home directory, I previously had a subdirectory, let's call it myDirectory which I could move to from within the home directory using cd as with any other directory (i.e. cd ./myDirectory).
Now, when I run the command, I get the error:
"myDirectory not a directory"
and when I run ls the myDirectory is color-coded differently than other directories, and differently than it had been previously. I can however, run mv someFile ./myDirectory, and recently moved a number of files (which I now need to access) in this way.
So, myDirectory obviously points to a directory, but is not at ~/myDirectory any longer. I believe I understand the problem, however I'm not sure what command to use to access the directory. How can I access this directory and/or determine its new location?
Running this command:
ls -ld myDirectory
Produces:
-rw-rw-r-- 1 myUsername myUsername 15029 Nov 2 17:57 myDirectory