This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a some issues with calling sqlplus form shell script.
I can run the sqlplus command form the home of the user directory ( i set the alias for sqlplus by editing the .bash_profile of that user ....every thing is fine.
I can connect to db
Now when i try to run the same sqlplus from the a shell script like 1.sh with sqlplus command inside the 1.sh
it says command not found .
i tried to edit the even the etc/bashrc file but .... it is same
So how to fix this so that the sh can get the path variable in linux ( red hat AS 5)
Do i need to edit define any variables ???
I think i set the Path correctly , if not it should not work from the home directory i guesss .....correct me if i'm wrong !