9736c4ddb6
Submitted by: kano at na rim or jp
267 lines
6.9 KiB
Groff
267 lines
6.9 KiB
Groff
.\" Copyright (c) 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
|
||
.\" Copyright (c) 1990, 1993
|
||
.\" The Regents of the University of California. All rights reserved.
|
||
.\"
|
||
.\" Redistribution and use in source and binary forms, with or without
|
||
.\" modification, are permitted provided that the following conditions
|
||
.\" are met:
|
||
.\" 1. Redistributions of source code must retain the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer.
|
||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer in the
|
||
.\" documentation and/or other materials provided with the distribution.
|
||
.\" 3. All advertising materials mentioning features or use of this software
|
||
.\" must display the following acknowledgement:
|
||
.\" This product includes software developed by the University of
|
||
.\" California, Berkeley and its contributors.
|
||
.\" 4. Neither the name of the University nor the names of its contributors
|
||
.\" may be used to endorse or promote products derived from this software
|
||
.\" without specific prior written permission.
|
||
.\"
|
||
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||
.\" SUCH DAMAGE.
|
||
.\"
|
||
.\" @(#)locate.1 8.1 (Berkeley) 6/6/93
|
||
.\" %FreeBSD: src/usr.bin/locate/locate/locate.1,v 1.23 2003/06/08 13:45:37 charnier Exp %
|
||
.\" $FreeBSD$
|
||
.\"
|
||
.Dd June 6, 1993
|
||
.Dt LOCATE 1
|
||
.Os
|
||
.Sh ̾<EFBFBD><EFBFBD>
|
||
.Nm locate
|
||
.Nd <EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̾<EFBFBD><EFBFBD><EFBFBD><EFBFBD>®<EFBFBD>˸<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Nm
|
||
.Op Fl Scims
|
||
.Op Fl l Ar limit
|
||
.Op Fl d Ar database
|
||
.Ar pattern ...
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Nm locate
|
||
<EFBFBD>ϥǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>١<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥä<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƤΥѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Ar pattern
|
||
<EFBFBD>˥ޥå<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̾<EFBFBD><EFBFBD>ɽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
||
<EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>١<EF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FBFBD><EFBFBD><EFBFBD><EFBFBD>١<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
||
<EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>1<EFBFBD>ĤΥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϥǥե<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȤΥǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>١<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Bd -literal
|
||
$ locate -d $HOME/lib/mydb: foo
|
||
.Ed
|
||
.Pp
|
||
<EFBFBD><EFBFBD>
|
||
.Dq foo
|
||
<EFBFBD><EFBFBD><EFBFBD>ѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>ơ<EFBFBD>
|
||
<EFBFBD>ǽ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Pa $HOME/lib/mydb
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Pa /var/db/locate.database
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Bd -literal
|
||
$ locate -d $HOME/lib/mydb::/cdrom/locate.database foo
|
||
.Ed
|
||
.Pp
|
||
<EFBFBD>ϡ<EFBFBD>
|
||
.Dq foo
|
||
<EFBFBD><EFBFBD><EFBFBD>ѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Pa $HOME/lib/mydb ,
|
||
.Pa /var/db/locate.database ,
|
||
.Pa /cdrom/locate.database
|
||
<EFBFBD>ν<EFBFBD><EFBFBD>֤Ǹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Bd -literal
|
||
$ locate -d db1 -d db2 -d db3 pattern
|
||
.Ed
|
||
<EFBFBD><EFBFBD>
|
||
.Bd -literal
|
||
.Dq $ locate -d db1:db2:db3 pattern
|
||
.Ed
|
||
.Pp
|
||
<EFBFBD><EFBFBD>
|
||
.Bd -literal
|
||
.Dq $ locate -d db1:db2 -d db3 pattern
|
||
.Ed
|
||
<EFBFBD><EFBFBD>Ʊ<EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Pp
|
||
<EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>١<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̾<EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Ar -
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>硢ɸ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ߹<EFBFBD><EFBFBD>ߤޤ<EFBFBD><EFBFBD><EFBFBD>
|
||
<EFBFBD>㤨<EFBFBD>С<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ褦<EFBFBD>˥ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>١<EFBFBD><EFBFBD><EFBFBD><EFBFBD>̤<EFBFBD><EFBFBD>ƻȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|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D>
|
||
.El
|
||
.Sh <EFBFBD><EFBFBD>Ϣ<EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Bl -tag -width /etc/periodic/weekly/310.locate -compact
|
||
.It Pa /var/db/locate.database
|
||
locate <20>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD>١<EFBFBD><D9A1><EFBFBD>
|
||
.It Pa /usr/libexec/locate.updatedb
|
||
locate <20>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD>١<EFBFBD><D9A1><EFBFBD><EFBFBD><EFBFBD><F2B9B9BF><EFBFBD><EFBFBD>뤿<EFBFBD><EBA4BF><EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD>
|
||
.It Pa /etc/periodic/weekly/310.locate
|
||
<EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>١<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƹ<EFBFBD><EFBFBD>ۤ<EFBFBD><EFBFBD><EFBFBD>ư<EFBFBD><EFBFBD><EFBFBD>륹<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD>
|
||
.El
|
||
.Sh <EFBFBD>Ķ<EFBFBD><EFBFBD>ѿ<EFBFBD>
|
||
.Bl -tag -width LOCATE_PATH -compact
|
||
.It Pa LOCATE_PATH
|
||
<EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>١<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʸ<EFBFBD><EFBFBD><EFBFBD>ξ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵<EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Fl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