Lines 204-214
Link Here
|
204 |
Unfortunately, this doesn't always work! However, luckily for us there is |
204 |
Unfortunately, this doesn't always work! However, luckily for us there is |
205 |
another way to search for commands that may return multiple results (such as a |
205 |
another way to search for commands that may return multiple results (such as a |
206 |
library call and system command having the same name). To do so, we use the |
206 |
library call and system command having the same name). To do so, we use the |
207 |
<c>-K</c> parameter to man like so: |
207 |
<c>-k</c> parameter to man like so: |
208 |
</p> |
208 |
</p> |
209 |
|
209 |
|
210 |
<pre caption="Using man -K to search by string"> |
210 |
<pre caption="Using man -k to search by string"> |
211 |
$ <i>man -K sleep</i> |
211 |
$ <i>man -k sleep</i> |
212 |
/usr/share/man/man0p/time.h.0p.gz? [ynq] <i>n</i> |
212 |
/usr/share/man/man0p/time.h.0p.gz? [ynq] <i>n</i> |
213 |
/usr/share/man/man0p/unistd.h.0p.gz? [ynq] <i>n</i> |
213 |
/usr/share/man/man0p/unistd.h.0p.gz? [ynq] <i>n</i> |
214 |
/usr/share/man/man2/alarm.2.gz? [ynq] <i>n</i> |
214 |
/usr/share/man/man2/alarm.2.gz? [ynq] <i>n</i> |