English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Linux which command is used to find files.
The which command will search for files in the directories set by the environment variable $PATH.
which [file...]
Parameters:
Use the command "which" to view the absolute path of the command "bash", input as follows:
$ which bash
After executing the above command, the output information is as follows:
/bin/bash #Absolute path of the bash executable program