10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have found this script on internet that can be used to execute local script remotely
# usage: runremote.sh localscript remoteuser remotehost arg1 arg2 ...
# escape the arguments
declare -a args
... (4 Replies)
Discussion started by: mukulverma2408
2. Red Hat
Im building a local yum server to update a handful of RHEL6 and RHEL7 servers, I'll be sharing out these updates via a local http webserver but I have a few questions.
1) it seem I am only able to download RHEL6 patches from a RHEL6 box and 7 patches from a 7 box which would mean I would have to... (1 Reply)
Discussion started by: dendenyc
3. Shell Programming and Scripting
I know for SSH'ing and running a local script is...
ssh -t user@servername < /path/to/localscript.sh
and with SSH'ing and SUDO'ing is...
ssh -t user@servername "sudo -u username ls -l /home/username"
My inquiry is how can I combine both, by SSH'ing and SUDO'ing but running... (4 Replies)
Discussion started by: WPGPoseidon
I want to install a .deb package which I already have on the hard drive. I have tried to edit /etc/apt/sources.list to point to the file but apt-get says it can't find it. The package is not in the Debian repository.
Debian 6.0 (3 Replies)
Discussion started by: snorkack59
5. 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
ssh username@hostname "$req $dte" < run_script.sh (2 Replies)
Discussion started by: lalitpct
How can I install a new version of jre on a local zone? Since /usr is not writable in a local zone)? pls advise
---------- Post updated at 03:51 PM ---------- Previous update was at 02:34 PM ----------
jdk6 i mean (6 Replies)
Discussion started by: lhareigh890
Is there a way to mount a filesystem from the global zone to the local zone without rebooting the local zone?
I'm using a lofs filesystem..
any help is appreciated! thanks.. (4 Replies)
Discussion started by: BG_JrAdmin
8. Shell Programming and Scripting
If I run this
# ssh remote-server 'du -sk /usr/platform/`uname -i`/'
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'
result=`ssh remote-server... (3 Replies)
Discussion started by: hcclnoodles
anyone can point to some good basic tutorial/howto (independent, not specific to any distro) about how to install linux over LAN from one PC with working linux distro to another PC without cdrom and floppy-just over LAN?
Thanks in advance ! (2 Replies)
Discussion started by: vampirex
Hello UNIX gurus, I need to install the mysql odbc connector with unixODBC on my AIX 5.3 machine. I have a mySQL database running on another server (Ubuntu 7.04). The SQL database works fine. The problem I am having is when trying to run ./configure for mysql-connector-odbc it seems to be looking... (1 Reply)
Discussion started by: raidzero