![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 find the last argument in a argument line? | nehagupta2008 | UNIX for Dummies Questions & Answers | 4 | 06-20-2008 12:05 PM |
| Pass argument to function | Knotty | UNIX for Dummies Questions & Answers | 1 | 04-08-2007 09:26 AM |
| How do I pass a wild card as an argument | eja | UNIX for Dummies Questions & Answers | 2 | 03-28-2007 03:03 PM |
| pf not working properly even with only "pass in all" and "pass out all" rules | xyyz | UNIX for Advanced & Expert Users | 4 | 12-30-2003 05:33 AM |
| pass argument to a filename | jpprial | UNIX for Dummies Questions & Answers | 1 | 09-03-2001 04:12 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to pass argument remotely
If I run the following command remotely after ssh than it works fine
su - oracle -c "/oracle/product/102/db/bin/dbshut" But If I run the following command it doesn't work su - oracle -c "/oracle/product/102/db/bin/lsnrctl stop" Because I think there is a space is present between lsnrctl and stop..So how to avoid that space But if we run lsnrctl stop in that sever it works fine..Here lsnrctl is a script available and stop is the argument we are passing Please suggest |
|
||||
|
No duplicate or cross-posting, please read the rules.
Continue here: how to avoid space to run remotely Thread closed. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|