10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
1.
I generated a log for the script.
log:
abc
def
ghi
ijk
If I use general (plain text) format for mail sending, it was displaying correctly with new lines where I have.
Eg:
abc
def
ghi
ijk
But I tried with HTML format using the code: (8 Replies)
Discussion started by: karumudi7
8 Replies
2. Shell Programming and Scripting
Hi,
I earlier determined I cannot use FTP to execute remote commands on a server.
My problem, I need to use a second server to get/put files via ftp onto my primary server and various tertiary servers.
my server(A) ---> server (B) ----> server blah(c), server balh(C)
I cannot directly... (1 Reply)
Discussion started by: mcclunyboy
1 Replies
3. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies
4. Shell Programming and Scripting
Dear All,
I want to rsh a machine; lets say
rsh ds-00
then i want to send a couple of commands via a script to be perfomed on the remote computer
for instance
rsh ds-00
df -k
but it is not working when i do the scripting...
What can be the problem
BR/asad (1 Reply)
Discussion started by: asadlone
1 Replies
5. Shell Programming and Scripting
Hi All
I am trying to run an RSH command remotely to a machine, but I am gettinf the following errors, can anyone help me to resolve the errors
user@server10:~> rsh user@server24 'uname -n'
rcmd: getaddrinfo: Temporary failure in name resolution
Thanks in advance to all
Chirantan (3 Replies)
Discussion started by: csaha
3 Replies
6. UNIX for Dummies Questions & Answers
Hi, I need help again. When I run this shell script, it only runs the unld_date.sql piece and exits. How can I structure this to run all the way to the end? When I don't have the unld_date.sql piece in here, everything runs fine from the date compare piece all the way to the end. Thanks in... (5 Replies)
Discussion started by: siog
5 Replies
7. UNIX for Dummies Questions & Answers
Dear All,
I was wondering if there was any way that I could make RSH be non-blocking? i.e. make a remote connection to another machine and execute a function while being able to resume your program.
T (4 Replies)
Discussion started by: thoang
4 Replies
8. Shell Programming and Scripting
Hi,
I'm writing a shell script that rsh's onto a remote machine and runs a perl script that requires values to be entered as the script executes. I also need to ba able to see the outputs from the perl script.
When I try to run it I get an stty : Invalid argument and understand that this is... (4 Replies)
Discussion started by: ianf
4 Replies
9. UNIX for Dummies Questions & Answers
I have a Korn shell script that executes a number of commands on a remote server.
Is it possible to feed in the last exit code of the rsh commands (i.e. something like $?) to a variable within the local shell script?
I tried the following:
returncode=$(rsh spns31 ".... (1 Reply)
Discussion started by: bbouch
1 Replies
10. Programming
Hi folks,
I'm trying to make a reconnection algorithm using rexec(), but I noticed that when rexec() fails returning -1, it is impossible to make it run successfully again until you restart the program or the thread.
Example, I have a endless loop for connection retries, if I supply a wrong... (7 Replies)
Discussion started by: lcmoreno
7 Replies