rtmistler |
06-13-2019 07:27 AM |
Quote:
Originally Posted by jyothinagendra
(Post 6004695)
cd /home/users/test/scripts/ && . test ORACLE18C
/home/users/test/scripts/Rman_Backup_Archi.sh: line 9: .: test: file not found
|
Quote:
Originally Posted by jyothinagendra
(Post 6004782)
Here test is a shell script designed for setting environment variables like bash script .
|
Based on the error, the file test is not in the directory /home/users/scripts.
There are a couple of other issues. Such as whether or not test is a shell script file, it will need to be. It will need to be executable, and it will need a shebang term at the start of it. My parser will not accept a file with an improper extension, using that form of shell execution. Meanwhile if I use the more normal shell notation to run something, it will accept a file with no extension. That file does need to be a proper shell script file.
So, you need to post more details about things here. As others have said, use code tags because they preserve the spacing and formatting of the code. If you need assistance with that, there are guides in the LQ Site FAQ, or just use the advanced editor when you post and the # tool will make selected text into a code block.
Advice here is that providing brief, one line, not-detailed follow-ups are no further help to people. If you wish to maintain privacy of your code, then post representative examples of it.
|