8
rated 0 times
[
8]
[
0]
/ answers: 1 / hits: 9214
/ 2 Years ago, thu, march 31, 2022, 8:22:36
There is a file at /user/share/jogl.jar
.
I am using locate jogl.jar
but it doesn't work. Why?
More From » locate
There is a file at /user/share/jogl.jar
.
I am using locate jogl.jar
but it doesn't work. Why?
From the man page:
locate reads one or more databases prepared by updatedb(8) and writes
file names matching at least one of the PATTERNs to standard output,
one per line.
Run updatedb
as root and try again. It should work.
Alternatively you can use find
or find | grep
, which does not uses a db (and thus is considerably slower).