01-27-2014
Running program from local install?
Dear forum,
This is my first post here, nice to meet you all.
My question might be a beginner one, also it might have been answered before (I searched but found nothing).
I am a new Unix user. I am using a terminal to connect to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-48-generic x86_64); please forgive me if I made any mistakes here, I'm only just starting to use something other than Windows.
I need to use a specific program which is installed twice in the terminal server: both in the main and in a local installation.
I need to run it from the local installation. Can you please help me as to how I will be able to do that?
Thank you in advance.
Best regards
Athina
10 More Discussions You Might Find Interesting
1. AIX
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
1 Replies
2. Gentoo
hello all,
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
2 Replies
3. 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
4. Solaris
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
4 Replies
5. Solaris
How can I install a new version of jre on a local zone? Since /usr is not writable in a local zone)? pls advise
solaris10 sparc
---------- Post updated at 03:51 PM ---------- Previous update was at 02:34 PM ----------
jdk6 i mean (6 Replies)
Discussion started by: lhareigh890
6 Replies
6. 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
7. Debian
Hello,
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
3 Replies
8. Shell Programming and Scripting
Hello,
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
4 Replies
9. 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
1 Replies
10. 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
LEARN ABOUT DEBIAN
llogin
LLOGIN(1) General Commands Manual LLOGIN(1)
NAME
llogin - Connect to a LAT service
SYNOPSIS
llogin [options] service
Options:
[-dvcpblhQ] [-H node] [-R port] [-n name] [-w password | -W] [-q quit char]
DESCRIPTION
llogin connects your terminal to a LAT service via latd, the service name must be known to latd for this to work.
OPTIONS
-d Shows learned services. This is the same as latcp -d -l
-d -v Verbose form of -d. -v without -d is ignored.
-H <node>
Remote nodename. If the service is advertised by more than one node and you want to connect to a particular node then use this
switch. By default you will be connected to the node with the highest rating.
-R <port>
Connect to a specific port on (usually) a terminal server. This is the port NAME on the server and not the port number.
-c Do not convert typed LF to CR. By default the enter key generates LF and llogin converts it CR as it is the most generically useful
translation. This switch will cause the enter key to send LF instead. Occasionally useful for connecting to Unix consoles.
-b Convert typed DEL to BS. By default the DEL key (keyboard, top right usually) send DEL (ASCII 0x7f) to the remote system. This
switch will cause the DEL key to send BS (ASCII 8) instead. Useful for some Unix systems connected via terminal servers.
-l Convert output LF to VT. By default LF output is sent as CRLF which can cause output formatting problems. Changing this to VT should
preserve the output formatting on most devices or terminal emulators.
-q <char>
Change the quit character. By default CTRL-] will quit the terminal session. Entering a character after -q will cause CTRL-<char> to
be the quit character for that session. -q0 will disable the quit character. If you use the latter, make sure you are connecting to
a service that will disconnect you when you log out or you will have to kill llogin from another session to get out of it!
-Q Tells latd that the service you are connecting to is queued service and not a normal login service or port service. Unfortunately
latd cannot tell whether a remote service needs to be queued or not so the onus is on the user to specify this switch when connect-
ing to a queued service.
-n <name>
Sets the local connection name. By default this will be your local TTY name. In most cases this simply affects the display of the
terminal on the remote end so you shouldn't need to change it.
-w <password>
Sends the password for the service. Only needed for services that require a password for access. If the password given is "-" then
you will be prompted for a password and it will not be echoed. This avoids having passwords visible on the screen.
-W Prompts for the service password. This is the same as -w- (see above).
-p Tells llogin to connect to the device named instead of a LAT service. This would usually be a /dev/lat pseudo-terminal but could be
any other device you like really. This switch does not make the program useful as a terminal program because there is no way to set
any serial parameters, nor am I going to add them. This is just a convenient way to use the /dev/lat ports without the overhead of
programs such as minicom.
-h Displays a brief usage description. This is the same as invoking llogin without any parameters at all.
SEE ALSO
latcp(8), latd(8)
LAT utilities January 3 2002 LLOGIN(1)