Where
From FreeBSDwiki
(Difference between revisions)
m |
|||
Line 7: | Line 7: | ||
See also [[which]] for just finding out where the first returned program name from your [[path]] directory is without bothering to list all the others. | See also [[which]] for just finding out where the first returned program name from your [[path]] directory is without bothering to list all the others. | ||
+ | |||
+ | See also [[whereis]] | ||
[[Category:System Commands]] | [[Category:System Commands]] |
Revision as of 14:48, 25 August 2004
where is a very useful system command used to find out how many different versions of the same command or file you have strewn throughout your path and in which order they will be found if you don't specify a path when asking for one. For example:
ph34r# where time time: shell built-in /usr/bin/time ph34r#
See also which for just finding out where the first returned program name from your path directory is without bothering to list all the others.
See also whereis