The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to use remsh to duplicate all... rauphelhunter Shell Programming and Scripting 0 01-13-2008 09:19 PM
remsh problem sabyasm UNIX for Advanced & Expert Users 2 12-06-2005 03:21 PM
remsh kazanoova2 UNIX for Dummies Questions & Answers 3 12-21-2004 06:39 AM
remsh question aaareyes UNIX for Dummies Questions & Answers 2 06-04-2003 12:10 PM
remsh and run script bugggg Shell Programming and Scripting 1 11-13-2002 01:23 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-09-2002
Registered User
 

Join Date: Jun 2002
Posts: 6
remsh and nohup

I'm trying to nohup a job that executes a remote shell on another host but it breaks as soon as I launch it, and I get the following back to my terminal.

[1] + Stopped (tty input) nohup remsh target_host -l user "ls /proj"

This is the command I'm running.

nohup remsh target_host -l user "ls /proj" &

Does anybody know of any gotchas in running remsh in the background?


Thanks,
Forum Sponsor
  #2 (permalink)  
Old 09-09-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Try the -n option.

-n Redirect the input of rsh to /dev/null. You sometimes
need this option to avoid unfortunate interactions
between rsh and the shell which invokes it. For exam-
ple, if you are running rsh and invoke a rsh in the
background without redirecting its input away from the
terminal, it will block even if no reads are posted by
the remote command. The -n option will prevent this.
  #3 (permalink)  
Old 09-10-2002
Registered User
 

Join Date: Jun 2002
Posts: 6
Thanks RTM it worked
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0