Welcome! Log In Create A New Profile

Advanced

Locate Command Linux Problems

May 12, 2011 02:25PM
Hey so I am trying to write installation software. I am installing third party software on a computer, but first I check to see if it has already been installed. I am trying to use the locate command but it is not returning anything. To test it, I put a file that I installed and copied it into a different directory. I know it is there, and I copy and pasted the title so that I knew that would be correct. "$locate filename.a" returns nothing, however. I can be sitting in the correct directory staring straight at the file and it will still not give me its location. Does anyone know more about how locate works who can help me figure this out?

Thanks!
Subject Author Posted

Locate Command Linux Problems

rubix81 May 12, 2011 02:25PM

Re: Locate Command Linux Problems

Dan Trainor May 12, 2011 02:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 53
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready