updatedb
only runs once a day, you need to run it with root privileges to find recent files.OK, I was intuitive, about locate, as were a few other linux developers.
Locate was interpreted to mean, find a file. It does not do that, it searches a separate index, which is asynchronously updated. Thinks for finally telling me, I wasted an hour using some I was told will find files.
I like the idea of a data base, but using the index comes with a warning when the intuitive response is assuming direct access to the file system.
I had my suspicions because locate operated fairly fast, and I knew locate was not doing direct searches. But, I know my way around this stuff, most developers are not required to know all these nuances, and they do not pay attention to the endless gotchas that arise in linux.
OK, I got a c program to compile with the Python header, so I must have finally, after 4 command sequences from three different help forums over two different package formats adding something called pip which mad a bunch of assumptions about how I work. All that bcause I al;ways do this:
#include <Python.h>
int main(vid) {}
Whenever I try out a new c lib or interface, this is the first thing I do as I want to make sure the 10,000 lines of configure to make a make file to finally compile manages to put one friggen file in one place where one standard command can find it.
No comments:
Post a Comment