10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script in local server
cd /home/dell/work/BOP/testdir
./processchk po (here processchk is a script & po is passed as an argument)
Now I want to execute this script from remote server
ssh $username@$hostname "cd /home/dell/work/BOP/testdir; ./processchk po"
But Its getting error... (9 Replies)
Discussion started by: manohar2013
9 Replies
2. Shell Programming and Scripting
Hi,
So I've created /etc/rc.local
#!/bin/sh
polipo -c /opt/etc/polipo/polipo.conf
exit 0
if I run it with ./rc.local it does what its supposed to do and the proxy starts but not at startup.
any idea whats wrong?
thanks (1 Reply)
Discussion started by: deon
1 Replies
3. Shell Programming and Scripting
I am unable to run the below script against a remote server due to syntax error (then unexpected), but i am able to run it locally. Am i executing it correctly or is there any other way to execute it.
ssh username@servernname ksh -s < scriptname
#!/bin/ksh
function record
{
((end =... (5 Replies)
Discussion started by: NarayanaPrakash
5 Replies
4. Red Hat
how to create local mount point at startup
Filesystem GB blocks Free %Used Iused %Iused Mounted on
xxxxxxxx 370.00 180.08 51% 24500 1% /test (5 Replies)
Discussion started by: karthik9358
5 Replies
5. UNIX for Dummies Questions & Answers
Hello all,
Am facing a peculiar problem, I have copied a utility exe from a bin folder into my local temp folder. I am trying to execute that exe, but it throws out an error saying "No such file or directory".
I have given 755 & 777 permissions to it and I tried, but it still throws out that... (6 Replies)
Discussion started by: abhisheksunkari
6 Replies
6. HP-UX
Hello,
I know this is somewhat strange, but please let me know if possible. I want to execute a program file in the remote machine with command on the local machine. Let me make things more clear.
Suppose I have a cc on my local system and do not have that on the remote system. I want to use... (2 Replies)
Discussion started by: Veera_Raghav
2 Replies
7. Programming
Hello,
I 've trie to execute a a program with parameters unsuccessfully and i take the above message :
"The system cannot find the path specified."
I used a variaton of the above command :
system("\"C:\\xxx\\xxx\\xxx.exe -xxx -xxx xxx.xxx xxx.xxx xxx.xxx\"");
Thanks in advance (4 Replies)
Discussion started by: eusta
4 Replies
8. Shell Programming and Scripting
Hi All,
Can you please tell me how to execute local function written in a shell script with awk.
i tried with system command but its giving an error. (1 Reply)
Discussion started by: krishna_gnv
1 Replies
9. Shell Programming and Scripting
Hello,
I would like to do a rexec to execute a C exe (prog.e) :
rexec -l user -p password host prog.e
When I execute this command, I have this error :
prog.e : can not find lib.o
But, When I execute prog.e directly in the remote machine : well done ! No error output.
Thks for your... (4 Replies)
Discussion started by: Lika
4 Replies
10. Programming
At time of installation I have to open the resource. and i have to insert a string serial number in the exe.
please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
iscsi_discovery(8) System Manager's Manual iscsi_discovery(8)
NAME
iscsi_discovery - discover iSCSI targets
SYNOPSIS
iscsi_discovery <IP> [-p <port>] [-d] [-t <tcp|iser> [-f]] [-m] [-l]
DESCRIPTION
Perform send-targets discovery to the specified IP. If a discovery record is generated, try to login to the portal using the preferred
transport (-t flag specifies the requested transport type, TCP is the default). If login using a certain transport succeeds, mark the por-
tal for automatic login (unless -m flag is used), and disconnect (unless -l flag is used).
For iSCSI discovery to work, open-iscsi services must be running. i.e. iscsid should be up, and the iSCSI modules loaded. This is best
accomplished by the init.d startup script.
[-p=]port-number
set the port number (defualt is 3260).
[-d] print debugging information.
[-t=]transport-type
set transport (default is tcp).
[-f] force specific transport - disable the fallback to tcp (default is fallback enabled). force the transport specified by the argument
of the -t flag.
[-m] manual startup - will set manual startup (default is automatic startup).
[-l] login - login to the new discovered nodes (defualt is false).
AUTHOR
Written by Dan Bar Dov
REPORTING BUGS
Report bugs to <erezzi.list@gmail.com>.
COPYRIGHT
Copyright (C) Voltaire Ltd. 2006.
iscsi_discovery(8)