nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

how to do nohup on an sh file

This is a discussion on how to do nohup on an sh file within the Linux software forums, part of the Linux Getting Started category; I have shell script called update-web.sh. I need to run script as follows update-web.sh IP1 IP2 So all i wanna ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-29-2006, 06:25 PM
Guest
 
Posts: n/a
Default how to do nohup on an sh file

I have shell script called update-web.sh. I need to run script as follows

update-web.sh IP1 IP2

So all i wanna know is how to do nohum on update-web.sh (sh) file.

Any help is highly appreciated
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-30-2006, 03:57 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 0
tom is an unknown quantity at this point
Default

You can nohup sh or any shell script as follows:

nohup script-name arg1 arg2 &

In your case try it as follows:
Code:
nohup update-web.sh 192.168.5.200 192.168.5.220 &
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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

Similar Threads

Thread Thread Starter Forum Replies Last Post
Read arguments from a file and pass them to binary file AHJ Shell scripting 1 10-31-2007 06:04 PM
convert pdf (ppt file) into wordppt file sureshbup Linux software 1 12-07-2006 03:51 PM
ssh nohup connection Linux software 1 01-30-2006 04:21 PM


All times are GMT +5.5. The time now is 05:25 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36