Knowledge (XXG)

locate (Unix)

Source 📝

1120: 1142: 1165: 108:, but requires regular updating of the database. This sacrifices overall efficiency (because of the regular interrogation of filesystems even when no user needs information) and absolute accuracy (since the database does not update in 477: 1230: 275:...faster and does not trash the system caches as much...attempts to be compatible to GNU locate, when it does not conflict with slocate compatibility. 508: 1235: 122:
versions derive from the original implementation. Their primary database is world-readable, so the index is built as an unprivileged user.
1206: 224: 1133: 1128: 259: 1225: 501: 246:
GNU locate and its associated utilities were originally written by James Woods, with enhancements by David MacKenzie.
1105: 1075: 288: 1090: 234: 304:...will also check file permissions and ownership so that users will not see files they do not have access to. 1199: 1146: 851: 520: 494: 486: 193: 1021: 969: 171: 99: 1240: 109: 61: 56: 1192: 694: 684: 410: 140:(Secure Locate) use a restricted-access database, only showing filenames accessible to the user. 95: 343: 1176: 921: 826: 821: 40: 1100: 1044: 949: 750: 653: 398: 1039: 974: 959: 896: 856: 735: 699: 593: 1219: 1080: 941: 876: 648: 623: 524: 119: 79: 1054: 954: 871: 866: 770: 679: 643: 598: 263: 990: 964: 901: 891: 881: 846: 836: 831: 714: 704: 658: 104: 806: 765: 568: 538: 112:) for significant speed improvements, particularly on very large filesystems. 83: 483:
Locate32 for Windows - GPL'ed graphical Windows variant (no longer available)
1095: 1049: 1029: 926: 906: 861: 709: 633: 618: 603: 588: 583: 578: 573: 49: 1011: 791: 454: 437: 420: 87: 1164: 816: 740: 433: 416: 198: 369: 801: 543: 292: 203: 427: 1034: 931: 911: 841: 760: 663: 638: 613: 563: 558: 553: 548: 471: 450: 127: 1172: 1085: 1059: 995: 916: 811: 796: 755: 745: 689: 517: 474:- Variant using kernel module and daemon for continuous updates. 75: 45: 490: 886: 786: 730: 628: 444: 229: 465: 403: 317: 608: 1180: 468:- Variant faster than mlocate, with a smaller index. 1068: 1020: 1004: 983: 940: 779: 723: 672: 531: 55: 39: 21: 162:, it is much faster, and its index is smaller. 1200: 502: 8: 16: 1207: 1193: 1141: 509: 495: 487: 15: 118:was first created in 1982. The BSD and 102:. It operates significantly faster than 184: 7: 1161: 1159: 1179:. You can help Knowledge (XXG) by 14: 1231:Unix file system-related software 136:(Merging Locate) and the earlier 86:. It searches through a prebuilt 1163: 1140: 1119: 1118: 318:"plocate, a much faster locate" 192:Woods, James A. (1983-01-15). 1: 1236:Information retrieval systems 480:- KDE GUI frontend for locate 78:utility which serves to find 126:command is also included in 202:. Vol. 8, no. 1. 158:would list it. Compared to 27:; 42 years ago 1257: 1158: 90:of files generated by the 1114: 154:, it only shows files if 146:uses posting lists. Like 235:Free Software Foundation 174:related command in MacOS 258:Miloslav Trmač (2005). 1175:-related article is a 1134:Unix SUS2008 utilities 1129:Standard Unix programs 521:command-line interface 287:Kevin Lindsay (1999). 98:and compressed using 1226:GNU Project software 1022:Software development 342:Gunderson, Steinar. 316:Gunderson, Steinar. 194:"Finding Files Fast" 100:incremental encoding 350:. Arch manual pages 18: 376:. Kali Linux Tools 1188: 1187: 1156: 1155: 436:General Commands 419:General Commands 348:man.archlinux.org 322:plocate.sesse.net 67: 66: 1248: 1209: 1202: 1195: 1167: 1160: 1144: 1143: 1122: 1121: 724:User environment 511: 504: 497: 488: 448: 447: 431: 430: 414: 413: 386: 385: 383: 381: 366: 360: 359: 357: 355: 339: 333: 332: 330: 328: 313: 307: 306: 301: 300: 291:. Archived from 284: 278: 277: 272: 271: 262:. Archived from 255: 249: 248: 243: 242: 221: 215: 214: 212: 211: 189: 161: 157: 153: 149: 145: 139: 135: 125: 117: 107: 94:command or by a 93: 72: 41:Operating system 35: 33: 28: 19: 1256: 1255: 1251: 1250: 1249: 1247: 1246: 1245: 1216: 1215: 1214: 1213: 1157: 1152: 1110: 1064: 1016: 1000: 979: 936: 780:Text processing 775: 719: 668: 527: 515: 457:– User Commands 443: 442: 426: 425: 409: 408: 395: 390: 389: 379: 377: 368: 367: 363: 353: 351: 341: 340: 336: 326: 324: 315: 314: 310: 298: 296: 289:"Secure Locate" 286: 285: 281: 269: 267: 257: 256: 252: 240: 238: 225:"Finding Files" 223: 222: 218: 209: 207: 206:. pp. 8–10 191: 190: 186: 181: 168: 159: 155: 151: 147: 143: 137: 133: 123: 115: 103: 91: 70: 31: 29: 26: 22:Initial release 12: 11: 5: 1254: 1252: 1244: 1243: 1238: 1233: 1228: 1218: 1217: 1212: 1211: 1204: 1197: 1189: 1186: 1185: 1168: 1154: 1153: 1151: 1150: 1138: 1137: 1136: 1131: 1115: 1112: 1111: 1109: 1108: 1106:true and false 1103: 1098: 1093: 1088: 1083: 1078: 1072: 1070: 1066: 1065: 1063: 1062: 1057: 1052: 1047: 1042: 1037: 1032: 1026: 1024: 1018: 1017: 1015: 1014: 1008: 1006: 1002: 1001: 999: 998: 993: 987: 985: 981: 980: 978: 977: 972: 967: 962: 957: 952: 946: 944: 942:Shell builtins 938: 937: 935: 934: 929: 924: 919: 914: 909: 904: 899: 894: 889: 884: 879: 874: 869: 864: 859: 854: 849: 844: 839: 834: 829: 824: 819: 814: 809: 804: 799: 794: 789: 783: 781: 777: 776: 774: 773: 768: 763: 758: 753: 748: 743: 738: 733: 727: 725: 721: 720: 718: 717: 712: 707: 702: 697: 692: 687: 682: 676: 674: 670: 669: 667: 666: 661: 656: 651: 646: 641: 636: 631: 626: 621: 616: 611: 606: 601: 596: 591: 586: 581: 576: 571: 566: 561: 556: 551: 546: 541: 535: 533: 529: 528: 525:shell builtins 516: 514: 513: 506: 499: 491: 485: 484: 481: 475: 469: 459: 458: 440: 423: 406: 401: 394: 393:External links 391: 388: 387: 361: 334: 308: 279: 250: 216: 183: 182: 180: 177: 176: 175: 167: 164: 65: 64: 59: 53: 52: 43: 37: 36: 23: 13: 10: 9: 6: 4: 3: 2: 1253: 1242: 1239: 1237: 1234: 1232: 1229: 1227: 1224: 1223: 1221: 1210: 1205: 1203: 1198: 1196: 1191: 1190: 1184: 1182: 1178: 1174: 1169: 1166: 1162: 1149: 1148: 1139: 1135: 1132: 1130: 1127: 1126: 1125: 1117: 1116: 1113: 1107: 1104: 1102: 1099: 1097: 1094: 1092: 1089: 1087: 1084: 1082: 1079: 1077: 1074: 1073: 1071: 1069:Miscellaneous 1067: 1061: 1058: 1056: 1053: 1051: 1048: 1046: 1043: 1041: 1038: 1036: 1033: 1031: 1028: 1027: 1025: 1023: 1019: 1013: 1010: 1009: 1007: 1005:Documentation 1003: 997: 994: 992: 989: 988: 986: 982: 976: 973: 971: 968: 966: 963: 961: 958: 956: 953: 951: 948: 947: 945: 943: 939: 933: 930: 928: 925: 923: 920: 918: 915: 913: 910: 908: 905: 903: 900: 898: 895: 893: 890: 888: 885: 883: 880: 878: 875: 873: 870: 868: 865: 863: 860: 858: 855: 853: 850: 848: 845: 843: 840: 838: 835: 833: 830: 828: 825: 823: 820: 818: 815: 813: 810: 808: 805: 803: 800: 798: 795: 793: 790: 788: 785: 784: 782: 778: 772: 769: 767: 764: 762: 759: 757: 754: 752: 749: 747: 744: 742: 739: 737: 734: 732: 729: 728: 726: 722: 716: 713: 711: 708: 706: 703: 701: 698: 696: 693: 691: 688: 686: 683: 681: 678: 677: 675: 671: 665: 662: 660: 657: 655: 652: 650: 647: 645: 642: 640: 637: 635: 632: 630: 627: 625: 622: 620: 617: 615: 612: 610: 607: 605: 602: 600: 597: 595: 592: 590: 587: 585: 582: 580: 577: 575: 572: 570: 567: 565: 562: 560: 557: 555: 552: 550: 547: 545: 542: 540: 537: 536: 534: 530: 526: 523:programs and 522: 519: 512: 507: 505: 500: 498: 493: 492: 489: 482: 479: 476: 473: 470: 467: 464: 463: 462: 456: 452: 449: –  446: 441: 439: 435: 432: –  429: 424: 422: 418: 415: –  412: 407: 405: 402: 400: 399:GNU Findutils 397: 396: 392: 375: 371: 365: 362: 349: 345: 338: 335: 323: 319: 312: 309: 305: 295:on 2005-05-07 294: 290: 283: 280: 276: 266:on 2006-04-11 265: 261: 254: 251: 247: 236: 232: 231: 226: 220: 217: 205: 201: 200: 195: 188: 185: 178: 173: 170: 169: 165: 163: 141: 131: 129: 121: 120:GNU Findutils 113: 111: 106: 101: 97: 89: 85: 81: 77: 73: 63: 60: 58: 54: 51: 47: 44: 42: 38: 24: 20: 1181:expanding it 1170: 1145: 1123: 460: 378:. Retrieved 373: 364: 352:. Retrieved 347: 344:"plocate(1)" 337: 325:. Retrieved 321: 311: 303: 297:. Retrieved 293:the original 282: 274: 268:. Retrieved 264:the original 253: 245: 239:. Retrieved 237:. 2012-11-17 228: 219: 208:. Retrieved 197: 187: 142: 132: 114: 69: 68: 532:File system 380:23 February 354:23 February 327:23 February 84:filesystems 1241:Unix stubs 1220:Categories 1124:Categories 461:Variants: 374:Kali Linux 299:2016-03-27 270:2016-03-27 241:2016-03-27 210:2016-03-27 179:References 984:Searching 673:Processes 478:KwickFind 445:locate(1) 428:locate(1) 411:locate(1) 370:"plocate" 260:"mlocate" 110:real time 50:Unix-like 792:basename 166:See also 92:updatedb 88:database 897:strings 817:dirname 741:logname 690:crontab 472:rlocate 466:plocate 434:OpenBSD 417:FreeBSD 404:mlocate 199:;login: 160:mlocate 152:slocate 148:mlocate 144:plocate 138:slocate 134:mlocate 62:Command 30: ( 877:printf 802:csplit 544:chattr 455:Manual 438:Manual 421:Manual 204:Usenix 172:mdfind 124:locate 116:locate 96:daemon 71:locate 17:locate 1171:This 1101:sleep 1055:strip 1035:ctags 970:unset 950:alias 932:xargs 912:troff 872:patch 867:paste 842:iconv 771:write 761:uname 664:umask 654:touch 644:split 639:rmdir 614:mkdir 599:fuser 564:cksum 559:chgrp 554:chown 549:chmod 453:User 451:Linux 128:MacOS 80:files 74:is a 1177:stub 1173:Unix 1147:List 1086:expr 1060:yacc 1045:make 996:grep 991:find 975:wait 965:test 960:echo 917:uniq 902:tail 892:sort 882:read 857:more 847:join 837:head 832:fold 812:diff 797:comm 756:tput 751:talk 746:mesg 736:exit 715:time 705:nice 700:kill 659:type 594:file 518:Unix 382:2023 356:2023 329:2023 156:find 150:and 105:find 76:Unix 57:Type 48:and 46:Unix 32:1982 25:1982 1081:cal 1040:lex 1012:man 887:sed 807:cut 787:awk 766:who 731:env 649:tee 629:pwd 624:pax 569:cmp 539:cat 230:GNU 82:on 1222:: 1096:od 1091:lp 1076:bc 1050:nm 1030:ar 955:cd 927:wc 922:vi 907:tr 862:nl 852:m4 827:ex 822:ed 710:ps 695:fg 685:bg 680:at 634:rm 619:mv 609:ls 604:ln 589:df 584:du 579:dd 574:cp 372:. 346:. 320:. 302:. 273:. 244:. 233:. 227:. 196:. 130:. 1208:e 1201:t 1194:v 1183:. 510:e 503:t 496:v 384:. 358:. 331:. 213:. 34:)

Index

Operating system
Unix
Unix-like
Type
Command
Unix
files
filesystems
database
daemon
incremental encoding
find
real time
GNU Findutils
MacOS
mdfind
"Finding Files Fast"
;login:
Usenix
"Finding Files"
GNU
Free Software Foundation
"mlocate"
the original
"Secure Locate"
the original
"plocate, a much faster locate"
"plocate(1)"
"plocate"
GNU Findutils

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.