Linux ‘where’ Command: Use ‘which’ Instead
In Linux, there is no ‘where’ command. If you are looking for the path of a command, you can use the ‘which’ command instead.
To find the path of a specific command, you can enter the following command in the terminal:
which command_name
This will return the path of the command, for example:
$ which ls
/bin/ls
This way, you will be able to know the actual path of the command in the system.