10-25-2011
text file output on local server
I would imagine that it is possible to have a command's on-screen output placed into a text file; the difficulty I'm having is in getting that text file saved on the local server, while issuing the command on the remote server
Thanks!
-AJ
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
The Setup is like this. I'm connecting to Unix machine from my local machine. After connecting to Unix M/c, i need to connect FTP server. Am successful in connecting to FTP server, but am not able to download the file from the ftp server to my local machine. I have different user id's and... (1 Reply)
Discussion started by: ranjith_taurean
1 Replies
2. HP-UX
want to remove the thread
thanks (2 Replies)
Discussion started by: indira
2 Replies
3. Shell Programming and Scripting
want to remove this thread.
thanks (2 Replies)
Discussion started by: indira
2 Replies
4. Shell Programming and Scripting
Hi,
I have a script that runs for an hour.
Have to run it on remote server and need the output it produces on the remote server to decide for failure or success.
I run it through a Autosys Job which logs the outputs, both 1 & 2.
I use the commands
1) rsh <SERVER> 'nohup /tmp/xyz.ksh &'
2)... (5 Replies)
Discussion started by: aster007
5 Replies
5. Shell Programming and Scripting
Hi,
I need to copy few files from remote server to local server.
I write a shell script to connect to the remote server using ftp and go to that path. Now i need to copy those files in the remote directory to my local server with the timestamp of all those files shouldnt be changed.
... (5 Replies)
Discussion started by: arunkumarmc
5 Replies
6. Shell Programming and Scripting
ssh $USR@$host /bin/bash <<EOF
awk ' BEGIN{f=0} !f { s=$0; sub(/,.+/, "", s); gsub(//, " ", s); t=(systime()-mktime(s)); if(t<=14400) f=1 } f ' /home/error.log >> error.txt
EOFWe are trying to connect to a remote server through ssh and read values from error.log within last 4 hours.However, the... (3 Replies)
Discussion started by: Deepthz
3 Replies
7. Shell Programming and Scripting
hi,
can anyone tell me how can i store the names of a file that are in remote server to a file and then get the file that contains the name in local server?
there is a remote server where 5 files are present , say
a.txt
b.txt
c.txt
d.txt
e.txt
i want to write a script in my local... (4 Replies)
Discussion started by: Little
4 Replies
8. Shell Programming and Scripting
Hi guys,
So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 Replies
9. Shell Programming and Scripting
Hello,
I'm on a remote computer by SSH. How can I get the output of "cat file" into a file on the local computer?
I cannot use scp, because it's blocked.
something like:
ssh root@remote_maschine "cat /file" > /locale_machine/file
:rolleyes: (2 Replies)
Discussion started by: borsti007
2 Replies
10. Shell Programming and Scripting
Hello all,
i'm trying to create a report by greping a pattern on multiple remote hosts and creta a simple report,
actually i did this, is ther any better way to do this.
#!/bin/bash
for host in `cat RemoteHosts`
do
ssh $host -C 'hostname 2>&1; grep ERROR /var/log/WebServer.log.2019-09-21... (0 Replies)
Discussion started by: charli1
0 Replies
LEARN ABOUT CENTOS
festival_client
FESTIVAL(1) General Commands Manual FESTIVAL(1)
NAME
festival_client - client access to festiva; text-to-speech server mode
SYNOPSIS
festival_client [options] [file0] [file1] ...
DESCRIPTION
Allows sending commands and/or test to a festival test-to-speech server. Festival may be started in server mode using the option --server
festival-clinet allows waveforms ot be generated faster as not time is required for start up. See the festival manual for more details on
recommended use.
OPTIONS
--server <string>
hostname (or IP number) of server
--port <int> {1314}
port number of server process (1314)
--output <string>
file to save output waveform to
--otype <string> {riff}
output type for waveform
--passwd <string>
server passwd in plain text (optional)
--prolog <string>
filename containing commands to be sent to the server before standard commands (useful when using --ttw)
--async Asynchronous mode, server may send back multiple waveforms per text file
--ttw Text to waveform: take text from first arg or stdin get server to return waveform(s) stored in output or operated on by aucommand.
--withlisp
Output lisp replies from server.
--tts_mode <string>
TTS mode for file (default is fundamental).
--aucommand <string>
command to be applied to each waveform retruned from server. Use $FILE in string to refer to waveform file
BUGS
This still isn't as general as it should be. It seems to require lots of special little options which suggests the general options aren't
right.
AUTHOR
Alan W Black and Paul Taylor
(C) Centre for Speech Technology Research
University of Edinburgh
80 South Bridge
Edinburgh EH1 1HN
http://www.cstr.ed.ac.uk/projects/festival.html
1st Aug 1997 FESTIVAL(1)