- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem in running scripts
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2007 04:28 PM - last edited on 03-12-2014 08:44 PM by Lisa198503
08-04-2007 04:28 PM - last edited on 03-12-2014 08:44 PM by Lisa198503
Problem in running scripts
Hi all,
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
- Tags:
- stty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2007 05:39 PM
08-04-2007 05:39 PM
Re: Problem in running scripts
$ stty kill ^u
Do you intend "@" to be anything other than a data char or part of a filename of command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2007 05:55 PM
08-04-2007 05:55 PM
Re: Problem in running scripts
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..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2007 08:34 PM
08-04-2007 08:34 PM
Re: Problem in running scripts
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.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2007 08:43 PM
08-04-2007 08:43 PM
Re: Problem in running scripts
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.
- Tags:
- scummy C shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2007 06:05 AM
08-05-2007 06:05 AM
Re: Problem in running scripts
nohup sqlplus system/oracle \@script.sql &
hope this helps..
Sajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2014 01:23 AM
03-12-2014 01:23 AM