![]() |
|
|
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 |
| scp automated script | gholdbhurg | UNIX for Advanced & Expert Users | 5 | 10-27-2008 01:23 AM |
| How to execute script one by one in automated env | madhusmita | Shell Programming and Scripting | 1 | 07-02-2008 06:16 AM |
| i want automated script | arghya_owen | Shell Programming and Scripting | 3 | 06-16-2008 10:02 AM |
| Automated FTP from Unix to Active Directory Server | Cbish68 | Shell Programming and Scripting | 1 | 08-09-2007 01:38 PM |
| help for automated script | splax | UNIX for Advanced & Expert Users | 4 | 12-26-2006 05:36 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Automated script to SSH to another server
Hi guys, I have a script which looks a little like this;
Code:
grep $id /usr/local/production/service/distributor/clients/*/out/events.xml | awk -F/ '{print $8}'
I have tried using; Code:
shh user@server <<EOF
password
EOF
grep $id /usr/local/production/service/distributor/clients/*/out/events.xml | awk -F/ '{print $8}'
|
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|