locate(유닉스)
locate (Unix)초기 릴리즈 | 전 ( |
---|---|
운영 체제 | Unix 및 Unix 유사 |
유형 | 명령어 |
locate
는 파일 시스템에서 파일을 검색하기 위한 Unix 유틸리티입니다.이 기능은 사전 구축된 데이터베이스 내에서updatedb
명령 또는 데몬을 사용하여 증분 인코딩을 사용하여 압축됩니다.보다 훨씬 빠르게 동작합니다.find
단, 데이터베이스를 정기적으로 갱신해야 합니다.이로 인해 특히 매우 큰 파일 시스템에서 상당한 속도 향상을 위해 전체적인 효율성(사용자가 정보를 필요로 하지 않는 경우에도 정기적으로 파일 시스템을 조사하기 때문에)과 절대 정확도(데이터베이스가 실시간으로 업데이트되지 않기 때문에)가 저하됩니다.
locate
1982년에 [1]처음 만들어졌습니다.BSD 및 GNU Findutils 버전은 원래 [2]구현에서 파생되었습니다.기본 데이터베이스는 전 세계에서 읽을 수 있으므로 인덱스는 권한이 없는 사용자로 구축됩니다. locate
명령어는 MacOS에도 포함되어 있습니다.
mlocate
(Merging Locate) 및 이전 버전slocate
([3][4]Secure Locate)는 제한된 접근 데이터베이스를 사용하여 사용자가 액세스할 수 있는 파일 이름만 표시합니다.
「 」를 참조해 주세요.
- MacOS에서의 mdfind 관련 명령어
레퍼런스
- ^ Woods, James A. (1983-01-15). "Finding Files Fast". ;login:. Vol. 8, no. 1. Usenix. pp. 8–10. Retrieved 2016-03-27.
- ^ "Finding Files". GNU. Free Software Foundation. 2012-11-17. Retrieved 2016-03-27.
GNU locate and its associated utilities were originally written by James Woods, with enhancements by David MacKenzie.
- ^ Miloslav Trmač (2005). "mlocate". Archived from the original on 2006-04-11. Retrieved 2016-03-27.
...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.
- ^ Kevin Lindsay (1999). "Secure Locate". Archived from the original on 2005-05-07. Retrieved 2016-03-27.
...will also check file permissions and ownership so that users will not see files they do not have access to.
외부 링크
종류: