How do I view a command's information? [duplicate]How to find application's path from command line?Which of...
Will some rockets really collapse under their own weight?
How do figure out how powerful I am, when my abilities far exceed my knowledge?
What if a restaurant suddenly cannot accept credit cards, and the customer has no cash?
What exactly happened to the 18 crew members who were reported as "missing" in "Q Who"?
What are the advantages of this gold finger shape?
Is it really Security Misconfiguration to show a version number?
How to measure if Scrum Master is making a difference and when to give up
Number in overlapping range
How much can I judge a company based on a phone screening?
Did Michelle Obama have a staff of 23; and Melania have a staff of 4?
How to prevent criminal gangs from making/buying guns?
Scam? Phone call from "Department of Social Security" asking me to call back
List, map function based on a condition
Build a mob of suspiciously happy lenny faces ( ͡° ͜ʖ ͡°)
Telephone number in spoken words
Go to last file in vim
Airline power sockets shut down when I plug my computer in. How can I avoid that?
What's the relationship betweeen MS-DOS and XENIX?
Why are electric shavers specifically permitted under FAR §91.21
Did Pope Urban II issue the papal bull "terra nullius" in 1095?
Are there really no countries that protect Freedom of Speech as the United States does?
Cusp forms have an orthonormal basis of eigenfunctions for all Hecke operators
What modifiers are added to the attack and damage rolls of this unique longbow from Waterdeep: Dragon Heist?
How can I communicate my issues with a potential date's pushy behavior?
How do I view a command's information? [duplicate]
How to find application's path from command line?Which of these three commands is telling the TRUE Redhat release informationCan I edit executed command's informations?How to create a new command and how to view the code for commandsA command's output and its symbolic link's output do not matchHow to use command output (ls) into other command's input (sox)?Source of information - command whoHow To Pre-Find A Command's Impact?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
This question already has an answer here:
How to find application's path from command line?
5 answers
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.
For example, 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?
command
marked as duplicate by muru, Community♦ yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
How to find application's path from command line?
5 answers
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.
For example, 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?
command
marked as duplicate by muru, Community♦ yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
if you don't specify interpreter when running the command, it will run environment default. To control python version the package is run with, specify it before command or see: redsymbol.net/articles/env-and-python-scripts-version
– Bart
yesterday
add a comment |
This question already has an answer here:
How to find application's path from command line?
5 answers
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.
For example, 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?
command
This question already has an answer here:
How to find application's path from command line?
5 answers
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.
For example, 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?
This question already has an answer here:
How to find application's path from command line?
5 answers
command
command
edited yesterday
Rick
asked yesterday
RickRick
3193 silver badges12 bronze badges
3193 silver badges12 bronze badges
marked as duplicate by muru, Community♦ yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by muru, Community♦ yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by muru, Community♦ yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
if you don't specify interpreter when running the command, it will run environment default. To control python version the package is run with, specify it before command or see: redsymbol.net/articles/env-and-python-scripts-version
– Bart
yesterday
add a comment |
if you don't specify interpreter when running the command, it will run environment default. To control python version the package is run with, specify it before command or see: redsymbol.net/articles/env-and-python-scripts-version
– Bart
yesterday
if you don't specify interpreter when running the command, it will run environment default. To control python version the package is run with, specify it before command or see: redsymbol.net/articles/env-and-python-scripts-version
– Bart
yesterday
if you don't specify interpreter when running the command, it will run environment default. To control python version the package is run with, specify it before command or see: redsymbol.net/articles/env-and-python-scripts-version
– Bart
yesterday
add a comment |
1 Answer
1
active
oldest
votes
Use:
which <command>
For example:
$ which cat
/usr/bin/cat
Ah yes it is. I just can't remember. But some commands are binary executables and some are scripts. I can only open and read the scripts files.
– Rick
yesterday
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use:
which <command>
For example:
$ which cat
/usr/bin/cat
Ah yes it is. I just can't remember. But some commands are binary executables and some are scripts. I can only open and read the scripts files.
– Rick
yesterday
add a comment |
Use:
which <command>
For example:
$ which cat
/usr/bin/cat
Ah yes it is. I just can't remember. But some commands are binary executables and some are scripts. I can only open and read the scripts files.
– Rick
yesterday
add a comment |
Use:
which <command>
For example:
$ which cat
/usr/bin/cat
Use:
which <command>
For example:
$ which cat
/usr/bin/cat
answered yesterday
JShorthouseJShorthouse
6772 silver badges10 bronze badges
6772 silver badges10 bronze badges
Ah yes it is. I just can't remember. But some commands are binary executables and some are scripts. I can only open and read the scripts files.
– Rick
yesterday
add a comment |
Ah yes it is. I just can't remember. But some commands are binary executables and some are scripts. I can only open and read the scripts files.
– Rick
yesterday
Ah yes it is. I just can't remember. But some commands are binary executables and some are scripts. I can only open and read the scripts files.
– Rick
yesterday
Ah yes it is. I just can't remember. But some commands are binary executables and some are scripts. I can only open and read the scripts files.
– Rick
yesterday
add a comment |
if you don't specify interpreter when running the command, it will run environment default. To control python version the package is run with, specify it before command or see: redsymbol.net/articles/env-and-python-scripts-version
– Bart
yesterday