10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
Please, what is the difference between running a script remotely:
ssh -t root@$machine -x "sshpass -p 'ubuntu' ssh -t ubuntu@$address -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/nul -x './c-launch.sh'"
and running a script directly on the host:
... (1 Reply)
Discussion started by: chercheur111
1 Replies
2. Shell Programming and Scripting
facing issue with then error while running a local script aginst a remote server. i facing the same issue in multiple scripts. So what i am missing here or what is needed.
#!/bin/ksh
echo "enter the filename"
read file
if
then
echo "file exists"
else
echo "file does not exists"
fi
... (0 Replies)
Discussion started by: NarayanaPrakash
0 Replies
3. Programming
Hi i need a c programm to login in unix(solaris).
non-interactivley because it seems difficult to do it with unix shell scripting and passwd command cant be used and also
i don't have expect installed and i am not allowed to installed expect in our servers.
is there any c programm that can help... (1 Reply)
Discussion started by: munish259272
1 Replies
4. Programming
I need to run an interactive program in the background so I can grep it for specific data to use for some logic in a script.
There is no quiet or background mode on the program so I plan to redirect a document with commands in it and then to grep the output.
This is almost working, except... (1 Reply)
Discussion started by: doonan_79
1 Replies
5. Shell Programming and Scripting
Hello,
I'm looking to script the basic instant messaging program we have in my company, it's called "oi", it's working as follow:
# oi $user
then we have to launch it...
after finding the system of the user it's asking for the message...
then on a new line we have to hit ctrl+d
I... (2 Replies)
Discussion started by: nomadvisuals
2 Replies
6. AIX
We have a server that has CDE and Mozilla installed on it. I have a develpoer who want to have an application start Mozilla locally on the AIX server (which has no video card) or wants Mozilla running on the server at all times. Can anybody tell me if this is at all possible? If so how and if... (4 Replies)
Discussion started by: daveisme
4 Replies
7. Shell Programming and Scripting
Hi I have created a program but am currently wondering how to develop it further. I wanted to know how i would go about developing the program further so that it is able to run with a "none interactive flag" enabling execution to be automated with the resultant file e-mailed to a user once a week.... (1 Reply)
Discussion started by: warlock129
1 Replies
8. Linux
hi all.
I have a small program on a debian server which i need to execute remotely from a windows machine using putty.
when i use putty to execute the program it starts running , but when i close the session the program stops running on the debian server as well.
Can anyone guide me how... (4 Replies)
Discussion started by: coolatt
4 Replies
9. Shell Programming and Scripting
Hi Friends
I am trying to make an interactive shell script ( I do not have expect tool )
My objective is
1.I have a progam named say "inter"
The program when ran on command prompt will be as below
Prompt>inter
Please enter the choice
1.enter 1
2.enter 2
< I need to enter 1 or 2... (4 Replies)
Discussion started by: sivasenthil_k
4 Replies
10. Shell Programming and Scripting
i have a box here that can only be accessed with telnet. now, i was wondering if anyone know of a way of which i can run a command on that box remotely. (2 Replies)
Discussion started by: Terrible
2 Replies