Differences between revisions 1 and 2
Revision 1 as of 2018-08-25 11:24:51
Size: 248
Editor: asbesto
Comment:
Revision 2 as of 2018-08-26 15:21:46
Size: 406
Editor: asbesto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Line 11: Line 10:

== Search for a file ==

{{{

locate -d yourdatabase.db -i filename

}}}

search for that file, regardless of upper/lower case.

EAT SHIT AND DIE

Updatedb and file organization

updatedb -l 0 -U path/to/update -o outputfile.db

create "outputfile.db" containing a db of all files, readable by every user (-l 0)

Search for a file

locate -d yourdatabase.db -i filename

search for that file, regardless of upper/lower case.

EAT SHIT AND DIE

UpdatedbTricks (last edited 2018-08-26 15:21:46 by asbesto)