which - Find and print the executable path(s)
This document describes which ($Version$).
which
which [<option(s)>] <filename(s)>
"Dosify" output ( slashed/quoted appropriately for CMD or TCC )
"MSYS"ify output ( convert to '/c/...' )
"Unixify" output ( slashed/quoted appropriately for SH or BASH )
Choose --dos, --unix, or --msys depending on surrounding execution context
Quoting style = QUOTETYPE (literal, shell, shell-always, c, escape) [ see LS.c and quoteargs.c code; see URLrefs: http://www.ss64.com/bash/ls.html ; http://linux.about.com/od/commands/l/blcmdl1_patch.htm ; http://www.gnu.org/software/coreutils/manual/html_node/What-information-is-listed.html ] [ modified by $ENV{QUOTING_STYLE} ]
Shell type = SHELLTYPE (auto [DEFAULT], dos / cmd / win / win32 / windows, msys / cygwin, unix / bash / sh ) [ modified by $ENV{QUOTING_STYLE} ]
Find and print <all> possible executable paths for the filename(s) given
Print the usual program information
FILENAMES...
which will read each FILENAME, find, and then print the executable path for the FILENAME.
To install Win32::CommandLine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::CommandLine
CPAN shell
perl -MCPAN -e shell install Win32::CommandLine
For more information on module installation, please visit the detailed CPAN module installation guide.