Access hidden file via command line

ScottW

Founder
Staff member
Okay... my question is this... when I go to the command line and attempt to locate a give file name, I find a file listed in a given directory that matches. This file name is really long and screwed up and begins with a ".".

If a list files in that directory, even with a ls -a command, it won't list that file. If I rebuild the locate database, it remains. It is as though the file exists but is hidden. Maybe with hidden "." character that looks like one but isn't.

I don't know... it is like the file doesn't exist, yet it shows up in the locate command on the command line.
 
Back
Top