Wednesday, April 24, 2024
 Popular · Latest · Hot · Upcoming
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

 Answers
4

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).


[#30293] Friday, April 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atchcommo

Total Points: 114
Total Questions: 130
Total Answers: 101

Location: Cook Islands
Member since Sat, Oct 16, 2021
3 Years ago
atchcommo questions
Fri, May 13, 22, 08:22, 2 Years ago
Wed, Mar 9, 22, 20:14, 2 Years ago
;