Ahmad
06-16-2002, 05:45 AM
When I type 'python' in the command line, red hat tries to specifically call '/usr/bin/python'
It seems that redhat is hiding a bash script somewhere that is named python that calls that script, but I can't find that shell script!
I also heared that redhat have scripts in place to modify the calls to some commands, like a script that will call 'rm' with the '-i'. I thought this might be the same, and I want to know where these scripts are.
This is a snippet from my command line that might be useful:
[root@linux root]# pwd
/root
[root@linux root]# echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin
[root@linux root]# python
bash: /usr/bin/python: No such file or directory
[root@linux root]# s
bash: s: command not found
[root@linux root]#
It seems that redhat is hiding a bash script somewhere that is named python that calls that script, but I can't find that shell script!
I also heared that redhat have scripts in place to modify the calls to some commands, like a script that will call 'rm' with the '-i'. I thought this might be the same, and I want to know where these scripts are.
This is a snippet from my command line that might be useful:
[root@linux root]# pwd
/root
[root@linux root]# echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin
[root@linux root]# python
bash: /usr/bin/python: No such file or directory
[root@linux root]# s
bash: s: command not found
[root@linux root]#
