Search Results

Search: Posts Made By: murtymvvs
16,783
Posted By murtymvvs
I have put this line at the beginning of my sh...
I have put this line at the beginning of my sh script.

do you mean the .profile when called from .sh should have execute permissions?
16,783
Posted By murtymvvs
.profile file not found
Hi

I am trying to load the profile file using

. /home/user/.profile

it says file not found, but I can see the file in the /hom/user directory.

Any help ?

Thanks,
Murty.
2,745
Posted By murtymvvs
Sftp working on Linux but error on HP UX
Hi

the below two line in my sh work fine in Linux but when I run it in HP UX it throws error saying "No such file or directory (-)."

can anyone pleas let me know what is wrong. Any help is...
21,596
Posted By murtymvvs
store sqlplus output in variable
hi

how can i store sqlplus output to a variable in sh script (not bash)

Thanks
MM
9,466
Posted By murtymvvs
set a variable with latest file name
Hi

how to set a variable with the latest file name in a given folder in bash script.


Thanks,
MM
1,141
Posted By murtymvvs
Help on SFTP
Hi
I have written a bash script to get the input file from a server on to local machine and process the file accordingly. My requirement is to connect to the server and get the latest file with...
24,185
Posted By murtymvvs
Thank you very much, it worked but there are...
Thank you very much, it worked but there are empty lines in the log as shown below

2010-11-23 21:27 CST DEBUG: Start executing test1.sql
2010-11-23 21:27 CST
2010-11-23 21:27 CST PL/SQL...
24,185
Posted By murtymvvs
Thank you, it worked for sqlldr as it is single...
Thank you, it worked for sqlldr as it is single statement ..
but for sqlplus am using something like below.. where should i include the sed.

sqlplus -s user/pass@Db (user/pass@Db) <<EOF
select...
24,185
Posted By murtymvvs
Currently I am getting something like this ...
Currently I am getting something like this

2010-11-23 15:16 CST DEBUG: Start executing test1.sql
PL/SQL procedure successfully completed.
2010-11-23 15:16 CST DEBUG: Completed executing...
24,185
Posted By murtymvvs
Format the output from sqlplus while writing to log file.
Hi

I have developed bash script to connect to database and execute .sql files. I am logging some statements in to log file using echo. While logging I am adding the date in front of the log...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 01:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy