09-06-2016
Welcome to the forum.
It always pays off to put in some decent carefulness when specifying a problem, supplying the descriptions of your own attempts plus where you are stuck, and needed info like OS and shell versions, input and output samples, logics and/or algorithms connecting them.
10 More Discussions You Might Find Interesting
1. Programming
0 .with regards to you
1 .Thank you for reading letter
2 .a Server call sleep(20) after listern(fd,5) . When the Server is in asleep,a Client connect() to it successful and send a lot of appointed data .
3 .Why ? I think that the server is in sleep (beasue I call sleep()) , it donot block at... (3 Replies)
Discussion started by: chenhao_no1
3 Replies
2. Shell Programming and Scripting
Hi,
I want to log-in to a remote server using shell script.
The server requires the following while allowing a connection:
username
password
one - letter authorisation.
How can i implement this in my script?
thanks,
abey (6 Replies)
Discussion started by: abey
6 Replies
3. Solaris
Hi,
I have Sun One Application server installed on 2 Solaris servers. Currently I am getting their logs in relative server. I am using log4j for logging. Now I want to change this. I want such that I should get both S1AS's log on third server with log4j. How can I do that ?
I got one idea... (0 Replies)
Discussion started by: neel.gurjar
0 Replies
4. HP-UX
Hi,
I wonder if anyone is able to assist me.
I have a HP UX server and some HP UX workstations that has been migrated from another network. I have changed the IP Addresses and everything seems to be working fine.
However, the users are complaining that they are unable to login to the UX... (1 Reply)
Discussion started by: michaelgim
1 Replies
5. Linux
Hi, I bought a linux server, and actually all I can do now is enter through the SSH, This is my first time buying a server. When I bought a VPS before I could enter through remote desktop control, how can I do that on the server ? I need a little explanation because I am little short on info here... (1 Reply)
Discussion started by: Thehunterman
1 Replies
6. Shell Programming and Scripting
Hello everybody,
I have one small issue... :(
When i'm trying to connect another unix box through below script..
#!/usr/bin/bash
ssh $1 <<EOF
Commands
.
.
exit
EOF
But getting some syntax error "-sh: syntax error at line 2: `end of file' unexpected". I used to use... (2 Replies)
Discussion started by: raghu.iv85
2 Replies
7. Shell Programming and Scripting
hi all,
I am new to unix and unix scipting. i need a script to logging into servers and to excute some commands in each server.
for eg :
I tried with below script ,but cant get the desired o/p. please help with this
for i in `cat serverlist`
do
echo $i
ssh $i uname -a ;
cat... (4 Replies)
Discussion started by: sudharson
4 Replies
8. UNIX for Dummies Questions & Answers
Hi
I was accessing our linux test server via putty and By mistake i deleted /etc/passwd file.....
It is allowing me to login..... So could anyone please help me out in this issue....
Please, it is urgent (6 Replies)
Discussion started by: rahul547
6 Replies
9. UNIX for Dummies Questions & Answers
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.
Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server).
We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies
10. Linux
When unlocking a Linux server's console there's no event indicating successful logging
Is there a way I can fix this ?
I have the following in my rsyslog.conf
auth.info /var/log/secure
authpriv.info /var/log/secure (1 Reply)
Discussion started by: walterthered
1 Replies
BPLAY(1) General Commands Manual BPLAY(1)
NAME
bplay, brec - buffered sound recording/playing
SYNOPSIS
bplay [-d device] [-B buffersize] [-S] [-s speed] [-b bits] [[-t secs] | [-T samples]] [[-j secs] | [-J samples]] [-D level] [file]
brec [-d device] [-B buffersize] [-S] [-s speed] [-b bits] [[-t secs] | [-T samples]] [-r|-v|-w] [-D level] [file]
DESCRIPTION
bplay copies data from the named sound file (or the standard input if no filename is given) to the audio device.
brec copies data from the audio device to the named sound file (or the standard output if no filename is present).
These programs are intended to be drop-in replacements for the vplay and vrec programs by Michael Beck (beck@informatik.hu-berlin.de).
OPTIONS
-B buffersize
Use the supplied audio buffer size instead of the default.
-d device
Use the supplied audio device instead of the default.
-S Sound file is stereo.
-s speed
The speed in samples per second.
-b bits
The number of bits per sample. Only 8 and 16 are currently supported.
-t secs
The number of seconds to be played or recorded.
-T samples
The number of samples to be played or recorded.
-j secs
When playing, the number of seconds to skip at the beginning of the input before playing.
-J samples
When playing, the number of samples to skip at the beginning of the input before playing.
-r When recording, write raw sound file.
-v When recording, write Creative Labs VOC sound file.
-w When recording write Microsoft Wave sound file. Note that the WAVE file format is limited to 4GiB filesize. Recording more data is
possible, but the length info won't be consistent.
-q Quiet mode. No messages are displayed.
-D level
Print debug information to stderr. Debug level ranges from 0 to 2, where 0 is no debug information.
FILES
/dev/dsp The audio device.
BUGS
The -t, -T, -j and -J options may do strange things when playing VOC files.
There are limitations on recording VOC format files - specifically VOC files are only recorded in the 1.20 version of the format, which
some player programs may choke on. There is also currently a limit of around 16M on the size of a VOC file which will be recorded. This is
probably not a problem since I don't think anybody really uses VOC files anymore.
This program prefers to run setuid root. This is because it wants to use setpriority() to run at the highest possible priority, and also
locks down the buffers it uses to avoid them being swapped out.
AUTHOR
David Monro (davidm@amberdata.demon.co.uk or davidm@cs.usyd.edu.au)
The option parsing code was originally taken from vplay to maintain compatibility.
20 September 1999 BPLAY(1)