The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to make this work rider29 Shell Programming and Scripting 1 06-05-2008 02:22 PM
Can't make 'set DISPLAY' to work jr_zhang SUN Solaris 5 05-29-2008 10:49 AM
how to make ksh to work on solaries mail2sant Shell Programming and Scripting 13 04-16-2008 03:13 AM
How to make this work heru_90 Shell Programming and Scripting 3 09-07-2006 12:04 AM
make alt key work (emacs etc) ora OS X (Apple) 0 11-23-2003 07:04 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-29-2005
abhijeetkul abhijeetkul is offline
Registered User
  
 

Join Date: Oct 2005
Location: Mumbai,India
Posts: 58
nohup--how to make it work?

Hello gurus,

I am facing an unusual problem while running nohup in shell scripts.
i want to run two scripts simultaneously.In first script ,i take a backup of "nohup.out" & remove it .In second script,i state "nohup ./scriptname"
but "nohup.out" is not getting generated ??

pls find attached two scripts.
firstly,i want to run "selectica_stop" & then "selectica_start".

When "stop" takes place:
1> It has to stop appropriate servers. < working>
2> It must take a backup of nohup.out & then remove it < sometimes works>

when "start" takes place:
1> It has to bring up appropriate servers < working>
2> It must generate "nohup.out" in specified directory < not working>


Your suggestions/corrections are welcome.

Thanks & Regards
AbhijeetKul
Attached Files
File Type: doc selectica_start.doc (549 Bytes, 31 views)
File Type: doc selectica_stop.doc (924 Bytes, 20 views)
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0