08-04-2007 04:28 PM - last edited on 03-12-2014 08:44 PM by Lisa198503
Please someone tell me how to run script using nohup option in HP-Unix..
I am unable to use @ symbol in HP-unix ...
i usually run scritps in solaris as below..
eg:nohup sqlplus system/oracle @script.sql &
can anyone plese tell me how to run the same in HP-unix..
P.S. This thread has been moved from Disk to HP-UX > languages. -HP Forum Moderator
08-04-2007 05:39 PM
$ stty kill ^u
Do you intend "@" to be anything other than a data char or part of a filename of command?
08-04-2007 05:55 PM
Thanks for your response..
The problem is...
see we have an sql script in one of my partion..
i want to run the script..
what we usually do for another client using solaris..we will run the script by nohup option..
nohup sqlplus system/oralce @script.sql &
@ not a filename we use to call script that we have stored in current partion.
so please suggest me how to rubn scripts in HP-unix..
08-04-2007 08:34 PM
nohup sqlplus system/oracle @script.sql &
You are running the script "sqlplus" with the
arguments: system/oracle and @script.sql. Then putting it in the background with the output sent to nohup.out
>@ not a filename we use to call script that we have stored in current partion.
"@" is just a character and isn't anything special to a real shell.
>so please suggest me how to run scripts in HP-UX
sqlplus is your script. Unless your question is about sqlplus scripts?? (Which has nothing to do with nohup.)
08-04-2007 08:43 PM
Actually in a real shell, "@" is used as a parm, $@ and for file name generation.
The scummy C shell uses it for assignment.
None of these appears to be what you are trying to do.