File: whereis.1

package info (click to toggle)
manpages-hu 20010119-6
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 2,272 kB
  • ctags: 2
  • sloc: makefile: 56; lisp: 56
file content (143 lines) | stat: -rw-r--r-- 4,264 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
.\" Copyright (c) 1980, 1990 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.
.\"
.\" @(#)whereis.1 from UCB 4.2
.TH WHEREIS 1 "1998 OKT 25"
.SH NV
whereis \- meghatrozza a parancshoz tartoz binris, forrs s man-lap fjlok helyt.
.SH TTEKINTS
.B whereis
[
.B \-bmsu
] [
.B \-BMS
.IR knyvtr .\|.\|.
.B \-f
]
\fIfjlnv\fP\|
\&.\|.\|.
.IX  "whereis command"  ""  "\fLwhereis\fP \(em find program"
.IX  find "program \(em \fLwhereis\fP"
.IX  "locate program"  ""   "locate program \(em \fLwhereis\fP"
.IX  command  locate  ""   "locate \(em \fLwhereis\fP"
.SH LERS
A
.B whereis
meghatrozza a parancshoz tartoz binris, forrs s man-lap fjlok helyt.
A krt nevekrl elszr levlasztja az elrsi t sszetevit s minden 
.BI . ext
formj vonzott kiterjesztst,
mint pldul
.BR .c .
Az
.B s.
eltagok, amelyek a forrskd ellenrz programok hasznlatbl addnak,
ugyancsak le vannak kezelve.
A
.B whereis
ezutn megksrli meghatrozni a kvnt program helyt a Linux standard helyein.
.SH OPCIK
.TP
\fB\-b
Csak futtathat llomnyokat keres.
.TP
.B \-m
Csak man-szakaszokat keres
.TP
.B \-s
Csak forrsokat keres.
.TP
.B \-u
Szokatlan bejegyzsek keresse. Egy file akkor lesz szokatlan, ha nincs
bejegyezve egyik keresett tpusba sem.
Teht
,RB ` "whereis\ \ \-m\ \ \-u\ \ *" '
Az aktulis knyvtrban keresi azokat a fjlokat, melyeknek nincs
dokumentcijuk.
.TP
.B \-B
Megvltoztatja, illetve szkti a helyeket, ahol a
.B whereis
keresi a futtathat llomnyokat.
.TP
.B \-M
Megvltoztatja, illetve szkti a helyeket, ahol a
.B whereis
keresi a man-lapokat
.TP
.B \-S
Megvltoztatja, illetve szkti a helyeket, ahol a
.B whereis
keresi a forrsokat.
.TP
.B \-f
Jelzi az j knyvtr listjnak kezdett,
.I ktelez
hasznlni, a 
.BR \-B ,
.BR \-M ,
vagy a 
.BR \-S
kapcsolk esetn.
.SH PLDA
Minden fjlt megkeres a
.B /usr/bin -ben,
amelyek nincsenek dokumentlva a 
.B /usr/man/man1 -ben
s tallhat hozzjuk forrs a
.BR /usr/src -ben:
.IP
.nf
.ft B
plda% cd /usr/bin
plda% whereis \-u \-M /usr/man/man1 \-S /usr/src \-f *
.fi
.ft R
.SH LSD MG
.BR chdir (2V)
.SH HIBK
Mita a
.B whereis
a
.BR chdir (2V)
-t hasznlja a gyorsabb futshoz, a knyvtrneveknek a
.BR \-M ,
.BR \-S ,
s
.BR \-B
opciknl teljesnek kell lennik; teht ezeket
.RB ` / '
jellel kell kezdeni.
.PP
A whereis parancsnak elre bepitett keres utvonala van, ezrt nem biztos,
hogy mindig megtallja a keresett fjlt.
.SH MAGYAR FORDTS
Szalay Attila <sasa@sophia.jpte.hu>