shell script is defined in someother directory, how it is being invoked with path?
extract.ksh use this scripts topic_file_publish.sh but extract.ksh resides in
but topic_file_publish.sh in below directory
/data/apps/pnbgstk/publication > ls topic_file_publish.sh
fraespappp8:/data/apps > type topic_file_publish.sh
topic_file_publish.sh is hashed (/data/apps/pnbgstk/publication/topic_file_publish.sh)
how it is done?
since topic_file_publish.sh is being directly referenced in the code with absolute path.
Also, are you mixing shells (.sh is usually bash where .ksh is usually korn shell)
I draw your attention to:
Some general points.
(1) which command will tell form which element in the path, the program is found.
(2) It all depends on the contents of the specific scrips which you haven't shared.
|All times are GMT -5. The time now is 01:41 PM.|