10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Dear Experts,
I have found this script on internet that can be used to execute local script remotely
#!/bin/bash
# runremote.sh
# usage: runremote.sh localscript remoteuser remotehost arg1 arg2 ...
realscript=$1
user=$2
host=$3
shift 3
# escape the arguments
declare -a args
... (4 Replies)
Discussion started by: mukulverma2408
4 Replies
2. Red Hat
Can somebody know if it is possible to connect to remote IBM MQ, if local server using C, but don't have MQ library?
Thanks for contribution (0 Replies)
Discussion started by: digioleg54
0 Replies
3. Shell Programming and Scripting
When i use ssh command to execute local script on remote server , I am unable to do it.
Please let me know how this can be done in ksh
req=abc
dte=ghd
ssh username@hostname "$req $dte" < run_script.sh (2 Replies)
Discussion started by: lalitpct
2 Replies
4. UNIX for Dummies Questions & Answers
How do i copy files from Unix Server to my Local Desktop..
ANy ideas..please suggest....V Urgent. (1 Reply)
Discussion started by: win4luv
1 Replies
5. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
6. Shell Programming and Scripting
The following code doesn't work properly which means it doesn't displays remote output.
#!/bin/ksh
#################### Function macAddressFinder ########################
macAddressFinder()
{
`ifconfig -a > ipInterfaces`
`cat ipInterfaces`
}... (2 Replies)
Discussion started by: presul
2 Replies
7. Shell Programming and Scripting
If I run this
# ssh remote-server 'du -sk /usr/platform/`uname -i`/'
174 /usr/platform/SUNW,Sun-Fire-V245
I get my output just fine,
However, if i try to do the same but populate a local variable within my script called for example 'result'
#!/bin/ksh
result=`ssh remote-server... (3 Replies)
Discussion started by: hcclnoodles
3 Replies
8. Shell Programming and Scripting
want to remove this thread.
thanks (2 Replies)
Discussion started by: indira
2 Replies
9. HP-UX
want to remove the thread
thanks (2 Replies)
Discussion started by: indira
2 Replies
10. Shell Programming and Scripting
Hi there--I think this is more of a Windows question, but I think many of you might be able to help me out:
I have a UNIX web server and a Windows machine. I'm trying to script the following tasks so that they can be run from the Windows machine (via a
batch file):
1. Shutdown web services... (5 Replies)
Discussion started by: sohungry73
5 Replies