Which (command)

which
Developer(s)Carlo Wood, Daniel Papasian, Trane Francks
Stable release
2.21[1] Edit this on Wikidata / 20 March 2015; 9 years ago (20 March 2015)
Operating systemUnix, Unix-like, Microsoft Windows, FreeBSD, FreeDOS, AROS Research Operating System[2]
TypeCommand
Licensecoreutils: GNU GPL v3, BusyBox: BSD, FreeDOS: GNU GPLv2, AROS: AROS Public License (APL) Version 1.1 (based on the MPL)[3]
WebsiteGNU: gnu.org/software/which/, FreeDOS:Trane's World: Reinvented, AROS: aros.sourceforge.net

In computing, which is a command for various operating systems used to identify the location of executables. The command is available in Unix and Unix-like systems, the AROS shell,[4] for FreeDOS[5] and for Microsoft Windows.[2] The functionality of the which command is similar to some implementations of the type command. POSIX specifies a command named command that also covers this functionality.[6]

  1. ^ "which".
  2. ^ a b which for Windows from the GnuWin32 project
  3. ^ "AROS Public License version 1.1".
  4. ^ "AROS Research Operating System".
  5. ^ "FreeDOS 1.2 Updates Group - Utilities". Ibiblio.org. Retrieved 2022-09-08.
  6. ^ Cite error: The named reference posix was invoked but never defined (see the help page).