The UNIX and Linux Forums  

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 here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
change ip via remsh kenshinhimura HP-UX 7 04-12-2008 06:03 AM
script hanging - remsh vivsiv Shell Programming and Scripting 2 07-09-2006 12:41 PM
remsh problem sabyasm UNIX for Advanced & Expert Users 2 12-06-2005 04:21 PM
remsh kazanoova2 UNIX for Dummies Questions & Answers 3 12-21-2004 07:39 AM
remsh and nohup tavaresd UNIX for Dummies Questions & Answers 2 09-10-2002 06:28 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-13-2002
Registered User
 

Join Date: Nov 2002
Posts: 1
Unhappy remsh and run script

Help!
I'm would like to log in su - within a script an contuine to run the commands within the script. Every time I log in as su - I have to exit for the rest of the script to run! e.g.

#!/bin/ksh

su - oracle

ps -ef |grep som <--- doesn't excute command until I log out su

oracle.

Help! Thanks!
Reply With Quote
Forum Sponsor
  #2  
Old 11-13-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Check out this post from the other day.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:26 AM.


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 Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0