acessing environment variable in scripts
Posted: Thu Jan 17, 2008 10:56 pm
Hi all,
I am having a unix script which is getting called by a before/after subroutine.The script is just searching for a file like
find home/md/DEV/MIS/LANDING -name MIS_Customer_\*.
But i dont want to hardcode the path in my script.But am having an environment varibale defined in my administartor as
PATH(ie)home/md/DEV/MIS/LANDING .Is there any way to access that environment variable in my shell script ??.or please let me know anyother workaround to achive this.
Please help me
regards,
rajarp
I am having a unix script which is getting called by a before/after subroutine.The script is just searching for a file like
find home/md/DEV/MIS/LANDING -name MIS_Customer_\*.
But i dont want to hardcode the path in my script.But am having an environment varibale defined in my administartor as
PATH(ie)home/md/DEV/MIS/LANDING .Is there any way to access that environment variable in my shell script ??.or please let me know anyother workaround to achive this.
Please help me
regards,
rajarp