Finding where Python is on a Unix server through Telnet?

Donn Cave donn at oz.net
Sun Jan 2 06:23:23 EST 2000


Quoth Jay Love <jsliv at jslove.net>:
| Tyler Eaves wrote:
|> 
|> What is the command?
|
|
| try 'which python'
| or for everything related to python 'locate python'

"which" is definitely the way to go from the csh or tcsh shells.

In bash or ksh, it may work, but it also may lie - if it's important
to find the actual path among more than one possible paths for the binary,
you should use "type" (or "whence") in these shells.

"locate" is a new one on me, not available on Digital UNIX.

	Donn Cave, donn at oz.net



More information about the Python-list mailing list