Roscidus.com Zero Install Mirror

» Main » Which

Which - Which: show the full path of (shell) commands

Published by apps.0install.net

Overview

This is a Zero Install feed. This software cannot be run as an application directly. It is a library for other programs to use.

For more information about Zero Install, see 0install.net.

Full name

https://apps.0install.net/utils/which.xml

Description

Which takes one or more arguments. For each of its arguments it prints to stdout the full path of the executables that would have been executed when this argument had been entered at the shell prompt. It does this by searching for an executable or script in the directories listed in the environment variable PATH using the same algorithm as bash. The GnuWin32 port of Which searches for a matching file in the following sequence of directories: •The current directory. •The directories that are listed in the PATH environment variable. If the filename given on the command line cannot be found in any of the above directories, the search is repeated with the extensions given in the environment variable PATHEXT until a match occurs. If PATHEXT is empty or does not exist, a value of ".com;.exe;.bat;.cmd" is assumed.

Icon

Icon

Homepage

http://gnuwin32.sourceforge.net/packages/which.htm

Available versions

The list below is just for information; Zero Install will automatically select one of these versions for you.

VersionReleasedStabilityPlatformDownload
2.202008-08-10Windows-*Download (41833 bytes) Download (41833 bytes)

Non-Zero Install packages provided distributions can also provide this interface:

DistributionPackage name
Gentoosys-apps/which
which
Required libraries

This feed does not list any additional requirements.