diff options
author | Sami Kerola | 2013-03-16 21:12:49 +0100 |
---|---|---|
committer | Karel Zak | 2013-03-19 16:02:32 +0100 |
commit | 3bfb96365dc7a7971f4cc941e95e1ce0d1f288c7 (patch) | |
tree | 0acbb331c080bc0a319b2b0b04f0886a9e4c7225 /misc-utils/whereis.1 | |
parent | whereis: rewrite most of the command (diff) | |
download | kernel-qcow2-util-linux-3bfb96365dc7a7971f4cc941e95e1ce0d1f288c7.tar.gz kernel-qcow2-util-linux-3bfb96365dc7a7971f4cc941e95e1ce0d1f288c7.tar.xz kernel-qcow2-util-linux-3bfb96365dc7a7971f4cc941e95e1ce0d1f288c7.zip |
whereis: add search scope listing option
Mostly useful when debugging why the command does, or does not, work.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/whereis.1')
-rw-r--r-- | misc-utils/whereis.1 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/misc-utils/whereis.1 b/misc-utils/whereis.1 index 86e6a39b6..9b33999c4 100644 --- a/misc-utils/whereis.1 +++ b/misc-utils/whereis.1 @@ -91,7 +91,16 @@ be used when any of the or .BR \-S options is used. - +.IP "\fB\-l" +Output list of effective lookup paths the +.B whereis +is using. When non of +.BR \-B , +.BR \-M , +or +.BR \-S +is specified the option will out hard coded paths that the command was +able to find on system. .SH EXAMPLE To find all files in .B /usr/bin |