encyclopegia.org

Which (command)

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, for FreeDOS and for Microsoft Windows. 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.

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, for FreeDOS and for Microsoft Windows. 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. ==Implementations== ===Microsoft Windows, MS-DOS, FreeDOS=== The command is available as a separate package for Microsoft Windows as part of the GnuWin32 project and the UnxUtils collection of native Win32 ports of common GNU Unix-like utilities. Windows also includes the similar where.exe command. The same functionality is available in MS-DOS, but not Windows, as the built-in TRUENAME command. In PowerShell, the functionality is provided by the Get-Command Cmdlet. The FreeDOS version was developed by Trane Francks. ===AmigaOS compatible=== The command is used to find and print the location of a specific program. Inputs: FILE – Specifies the command to search for NORES – Resident programs are not included in the search RES – Only resident programs are considered ALL – Will find all locations of the FILE, which may cause the printing of the same location several times ==References== ==External links==

References

No reference rows published for this article.

Cite this article

MLA

"Which (command)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/which-command. Accessed 24 November 2026.

Chicago

"Which (command)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/which-command.

APA

encyclopegia.org. (2026). Which (command). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/which-command

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Death Note (disambiguation)

enwiki · references available

Nicolas Ouédec

enwiki · references available

Michael F. Feldkamp

enwiki · references available

List of Gintama episodes

enwiki · references available

Fabrice Poullain

enwiki · references available

2006 Australia national soccer team season

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1366425812 · 0.5 · snapshot enwiki-001366425812

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.