which.1 (81588) | which.1 (95124) |
---|---|
1.\" Manpage Copyright (c) 1995, Jordan Hubbard <jkh@FreeBSD.org> 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 13 unchanged lines hidden (view full) --- 22.\" IN NO EVENT SHALL THE CONTRIBUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29.\" | 1.\" Manpage Copyright (c) 1995, Jordan Hubbard <jkh@FreeBSD.org> 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 13 unchanged lines hidden (view full) --- 22.\" IN NO EVENT SHALL THE CONTRIBUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29.\" |
30.\" $FreeBSD: head/usr.bin/which/which.1 81588 2001-08-13 16:33:00Z ru $ | 30.\" $FreeBSD: head/usr.bin/which/which.1 95124 2002-04-20 12:18:28Z charnier $ |
31.Dd January 26, 1995 32.Dt WHICH 1 33.Os 34.Sh NAME 35.Nm which 36.Nd "locate a program file in the user's path" 37.Sh SYNOPSIS 38.Nm 39.Op Fl as 40.Op Ar command 41.Ar ... 42.Sh DESCRIPTION | 31.Dd January 26, 1995 32.Dt WHICH 1 33.Os 34.Sh NAME 35.Nm which 36.Nd "locate a program file in the user's path" 37.Sh SYNOPSIS 38.Nm 39.Op Fl as 40.Op Ar command 41.Ar ... 42.Sh DESCRIPTION |
43.Nm Which | 43The 44.Nm 45utility |
44takes a list of command names and searches the path for each executable 45file that would be run had these commands actually been invoked. 46.Pp 47The following options are available: 48.Bl -tag -width indent 49.It Fl a 50List all instances of executables found (instead of just the first one 51of each). --- 28 unchanged lines hidden --- | 46takes a list of command names and searches the path for each executable 47file that would be run had these commands actually been invoked. 48.Pp 49The following options are available: 50.Bl -tag -width indent 51.It Fl a 52List all instances of executables found (instead of just the first one 53of each). --- 28 unchanged lines hidden --- |