pavement

Whereis

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
 
Very much like [[where]] except that it will search for any program and show you not only where the program itself is, but also where any source code and/or [[man]] pages related to that program are in the standard [[path]]:
 
Very much like [[where]] except that it will search for any program and show you not only where the program itself is, but also where any source code and/or [[man]] pages related to that program are in the standard [[path]]:
  
  '''samizdata#''' whereis time
+
  samizdata#''' whereis time'''
'''time: /usr/bin/time /usr/share/man/man1/time.1.gz /usr/src/usr.bin/time'''
+
time: /usr/bin/time /usr/share/man/man1/time.1.gz /usr/src/usr.bin/time
  '''samizdata#'''
+
  samizdata#
  
 
See also: [[where]]
 
See also: [[where]]
  
 
[[Category: System Commands]]
 
[[Category: System Commands]]

Revision as of 16:48, 25 August 2004

Very much like where except that it will search for any program and show you not only where the program itself is, but also where any source code and/or man pages related to that program are in the standard path:

samizdata# whereis time
time: /usr/bin/time /usr/share/man/man1/time.1.gz /usr/src/usr.bin/time
samizdata#

See also: where

Personal tools