which
English [w?t?] US [hw?t?,w?t?]
pron. Which; which one; which ones; that, refers to the things mentioned earlier
adj.Which one; which ones
Linux which command syntax
Function: which command is used to find files. The which command will search for files that meet the conditions in the directory set by the environment variable $PATH.
Syntax: which [file...]
Linux which command example
Use the command "which" to view the absolute path of the command "bash", enter the following command:
$ which bash
After the above command is executed, the output information is as follows:
/bin/bash #bash可執(zhí)行程序的絕對(duì)路徑