This question already has an answer here:
Correct me if I am wrong:
If I remember correctly, a command in terminal is linked to a specific executable(or maybe a script is also allowed?) in filesystem/disk.
python runs python2.7 and
python3 runs python3.
Now the problem is that I install 2 packages with same terminal command.
pip install packageA pip3 install packageA
They both has the command
packageACommand run. So I want to check the current
packageACommand command infomation to see which python/what environments it's using.
And generally, I am wondering how can I view a command's (meta) information? Like checking what it acutally does/linked behind the scene?