01-26-2011
Thanks vgersh99. That got me off and running.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Write a quick shell snippet to find all of the IPV4 IP addresses
in any and all of the files under /var/lib/output/*, ignoring
whatever else may be in those files. Perform a reverse lookup on
each, and format the output neatly, like "IP=192.168.0.1,
... (0 Replies)
Discussion started by: choco4202002
0 Replies
2. Shell Programming and Scripting
Hi
I have afile with 15fields,say f1,f2....f15 delimited on comma. How can i swap the f1,f15 fields using unix shell commands or any script?
Thanks (3 Replies)
Discussion started by: ksailesh
3 Replies
3. Shell Programming and Scripting
Hi,
How to swap two strings in a file ?
Ex: "ABC" to be swapped with "XYZ"
"ABC" and "XYZ" donot occur in a same line .
String has ""
Regards
Tej (8 Replies)
Discussion started by: tej_89
8 Replies
4. Shell Programming and Scripting
Hi all
i need to create a script that pings every server in my range (0-254) adn then returns the values to a file? can anyone please help. i am working in the tcsh ( and yes i know how to ping ) but i dont know how to ping them all in one script without copying and pasting a 254 times?
... (1 Reply)
Discussion started by: brian112
1 Replies
5. Shell Programming and Scripting
All,
I have a flat file which contains an email address in every line. I am trying to find a way to extract all the email addresses delimited by comma (,). Can you please show me a way, it will be very helpful, thanks. (3 Replies)
Discussion started by: sed_beginner19
3 Replies
6. Shell Programming and Scripting
I have an xml file with IP addresses all over the show. I want to print only the IP addresses and cut off any text before or after the IP address.
Example:
Note: The IP addresses (x.x.x.x) do not consistently appear in the xml file as per the pattern below. Sometimes there are text before... (8 Replies)
Discussion started by: lewk
8 Replies
7. Shell Programming and Scripting
So I'm new to this sed command and I am trying to create a script that replaces ip addresses when I name a file but can't tweak it to work.
Here is what it looks like:
#!/bin/bash
#
file=$1
#
sed -e 's/-CPUaddr 10.30.10.166/-CPUaddr 10.30.10.151/g' -i "$file"
sed -e 's/-CPUaddr... (10 Replies)
Discussion started by: uradunce
10 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I'd like to swap the columns 1 and 2 of a space-delimited text file but only for the first 1000 rows. How do I go about doing that? Thanks! (1 Reply)
Discussion started by: evelibertine
1 Replies
9. Shell Programming and Scripting
Hi Friends ,
I have file1.txt
1|b|46|123|47673|348738
2|c|63|124|7346|4783
3|y|45|125|5555|78789
output should swap the 4th field to the first field.
output
123|1|b|46|47673|348738
124|2|c|63|7346|4783
125|3|y|45|5555|78789 (3 Replies)
Discussion started by: i150371485
3 Replies
10. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
aserver(1M) aserver(1M)
NAME
Aserver - start the audio server
SYNOPSIS
DESCRIPTION
The command starts the HP-UX Audio server, which can run on a system with audio hardware. See Audio(5) for information about which systems
have audio hardware. The option forces the starting of the Audio server; this option is only needed if the Aserver has problems starting.
The Audio Server
Before using any audio tools such as the the system or X station must be running two audio server processes, called On a Series 700, the
Remote Procedure Call daemon must also be running.
Normally, the Aserver processes and start automatically when the system is booted. If problems occur on an ENTRIA or ENVIZEX X station,
see the X station owner's manual. On a Series 700 Audio hardware, first check if is running. Type the following:
If it is running, you see a line similar to the following.
If it is not running, see HP 9000/DCE documentation for information on restarting it. If is running, verify that the Aserver is running.
Type:
If the Aserver is running you will see lines similar to the following, which indicate the presence of the two Aserver processes:
If it is not running, become root and restart it as follows:
If it fails to start, reissue the command with the option:
Using Audio over the Network
From a workstation, you can also use the Audio Editor and Control Panel over the network. However, the remote system is where the actual
playback and recording occur.
The local workstation (or audio client) can be any Series 700 system. The remote system (or audio server) can be a Series 700 or an X sta-
tion with audio hardware and must have the Aserver processes running. If the server is a workstation, it must also allow access from
remote clients (see asecure(1M)) and must have running.
To make the system an audio client, set the variable by modifying the file as follows:
Korn and POSIX Shells:
C Shell:
For system_name, identify the workstation or X Station running the Aserver.
If the variable is not set, the Audio Library attempts to use to the Aserver on the system defined by the variable. If neither nor is set,
the Aserver on the local machine is used.
DEPENDENCIES
The Audio Server must run on a system that has audio hardware. Note that HP-UX for the 8MB 705 System does not include audio software.
AUTHOR
The Audio Server was developed by HP.
SEE ALSO
audio(5), asecure(1M), attributes(1), convert(1), send_sound(1).
aserver(1M)