10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
*Following questions involves use of YAML, BASH, SSH and Software called Ansible*
I am trying to learn how to use a Linux environment (in my case a Ubuntu Windows Sub System) to copy a text file from my files to a remote instance (in this case Amazon Web Services) by connecting via SSH.
I... (8 Replies)
Discussion started by: Suhaba
8 Replies
2. Shell Programming and Scripting
I am trying to copy code to remote server, doing something like this
However it is copying one file and than the script exits
i=0; j=0
while read fn; do
dir=${fn%/*} # Gets directory path
fnm=${fn##*/} # Gets filename excl. path
rgx_nwk="s/${nwk}/${nwk}.sac/g"
... (2 Replies)
Discussion started by: kristinu
2 Replies
3. Shell Programming and Scripting
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
4. Shell Programming and Scripting
Team,
Presently I have 5 ip address kept in ip_abc1 file, for each of the ip address listed, i need to login on each ipaddress
one at a time and login as below for that specific ip address
ssh -p 8101 karaf@<ip.address_for the specific ip address as logged in>
password
features:list... (4 Replies)
Discussion started by: whizkidash
4 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
Please help me for a shell. I am a New to unix
I am trying to DB dump file from one server and copying it to another server.
From My Local ServerA connecting to remote ServerB using ssh and taking dump of a instance. That Dump file i need to copy to ServerC.
I am able to connect... (6 Replies)
Discussion started by: maddyd2k
6 Replies
6. UNIX for Dummies Questions & Answers
Hi ,
I am trying to find some files on a remote machine using the find command.
>ssh -q atukuri@remotehostname find /home/atukuri/ -name abc.txt
/home/atukuri/abc.txt
The above command works fine and lists the file, but if I want to do a long listing of files (ls -l) its not working . ... (2 Replies)
Discussion started by: atukuri
2 Replies
7. UNIX for Dummies Questions & Answers
This is probably somewhat trivial but it's driving me crazy. I have 6 servers with identical configurations. I'm trying to set up ssh keys between my laptop (windows XP using cygwin) and these servers (rhel). On 5 of the machines this works perfectly, but on one, no matter what I do, it gives me a... (2 Replies)
Discussion started by: DeCoTwc
2 Replies
8. Shell Programming and Scripting
hi,
i want to copy files from a remote computer in a network to a specific directory on my PC. ( script )
Forexample , IP of the remote PC is 172.16.5.24 login:aaaa Passw:123
/folder1/file1.txt to my pc folder /fd/awa.txt
kinldy help
Thanks (2 Replies)
Discussion started by: krabu
2 Replies
9. UNIX for Dummies Questions & Answers
Hi. I'm sorry if I get on people's nerves asking this, but I don't really understand how to do this and unfortunately don't have the time to work through it step by step in books, etc.
At University, we have a unix server that hosts our files. we each have a login and password to access it. I... (3 Replies)
Discussion started by: patwa
3 Replies
10. AIX
Hi,
I am using AIX 5.2, and I want to copy some files from one server to a remote server using tar command. Can anybody tell me exact command?
Thanks.
Aqeel (2 Replies)
Discussion started by: system-admin
2 Replies
RPLAY(1) General Commands Manual RPLAY(1)
NAME
rplay - play, pause, continue, and stop sounds
SYNOPSIS
rplay [options] [sound ...]
DESCRIPTION
rplay is client that communicates with rplayd to play, pause, continue, and stop sounds using both the RPLAY and RPTP protocols. Sound
files can be played by rplayd directly if available on the local system or sounds can be sent over the network using UDP or TCP/IP. rplay
will attempt to determine whether or not the server has the sound before using the network.
OPTIONS
-b BYTES, --buffer-size=BYTES
Use of a buffer size of BYTES when playing sounds using RPTP flows. The default is 8K.
-c, --continue
Continue sounds.
-n N, --count=N
Number of times to play the sound, default = 1.
-N N, --list-count=N
Number of times to play all the sounds, default = 1.
--list-name=NAME
Name this list NAME. rplayd appends sounds with the same NAME into the same sound list -- it plays them sequentially.
--help Display helpful information.
-h HOST, --host=HOST, --hosts=HOST
Specify the rplay host, default = localhost.
-i INFO, --info=INFO
Audio information for a sound file. This option is intended to be used when sounds are read from standard input. INFO must be of
the form:
`format,sample-rate,bits,channels,byte-order,offset' Examples: ulaw,8000,8,1,big-endian,0
gsm,8000 Shorthand info is provided for Sun's audio devices using the following options: --info-amd, --info-dbri,
--info-cs4231. There's also: --info-ulaw and --info-gsm.
-p, --pause
Pause sounds.
--port=PORT
Use PORT instead of the default RPLAY/UDP or RPTP/TCP port.
-P N, --priority=N
Play sounds at priority N (0 <= N <= 255), default = 0.
-r, --random
Randomly choose one of the given sounds.
--reset
Tell the server to reset itself.
--rplay, --RPLAY
Force the use of the RPLAY protocol. The default protocol to be used is determined by checking whether or not the server has local
access to the specified sounds. RPLAY is used when sounds are accessible, otherwise RPTP and possibly flows are used. RPLAY will
also be used when sound accessibility cannot be determined.
--rptp, --RPTP
Force the use of the RPTP protocol. See `--rplay' for more information about protocols.
-R N, --sample-rate=N
Play sounds at sample rate N, default = 0.
-s, --stop
Stop sounds.
--version
Print the rplay version and exit.
-v N, --volume=N
Play sounds at volume N (0 <= N <= 255), default = 127.
SEE ALSO
rplayd(8), rptp(1)
6/29/98 RPLAY(1)