When i run command "type ping", I get o/p as "bash: type: ping: not found". But, i see ping is present under /bin/. When i run, ls -l /bin/ping , i get o/p as: erwxrwxrwx 1 BPXROOT 1 5 Apr 22 2020 /bin/ping -> OPING
Also, analysis and inputs from uss tools teams is:
stat() fails for an external link. bash checks the path to a command before it tries to exec it to make sure it is executable, using stat(). bash would have to be modified to look for the specific reason code from stat() and ignore it to get it to follow external links.
When i run command "type ping", I get o/p as "bash: type: ping: not found". But, i see ping is present under /bin/. When i run, ls -l /bin/ping , i get o/p as: erwxrwxrwx 1 BPXROOT 1 5 Apr 22 2020 /bin/ping -> OPING
Also, analysis and inputs from uss tools teams is: stat() fails for an external link. bash checks the path to a command before it tries to exec it to make sure it is executable, using stat(). bash would have to be modified to look for the specific reason code from stat() and ignore it to get it to follow external links.
More info about this issue is in thread "https://ibm-systems-z.slack.com/archives/C493603M1/p1678371986562979"