02-08-2012
Quote:
Originally Posted by
balajesuri
I hope you're not being deliberate here.
What's the name of your input file? The file containing the list of IP's.. Isn't it random_ip.txt ?
Correct, the file containing the list of IP's is called random_ip.txt, not sure why your script is not picking it up? I executed your script from within the directory where the random_ip.txt file reside.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all.
I have a large number of text files outputted from various Netstumbler Wireless Scans; from which I need to extract the MAC addresses of the various Access Points.
The Text files look like this:
# $Creator: Network Stumbler Version 0.4.0
# $Format: wi-scan summary with... (9 Replies)
Discussion started by: dhs23
9 Replies
2. UNIX Desktop Questions & Answers
Im trying to use a shell script to send to a list of email addresses in a txt file. Here is what i have tried but it keeps sending to dead.letter...
Success.ksh contains...
mailx -s"Night Batch Success" 'cat /Scripts/email_addresses.txt' < /Scripts/email_body_message.txt
The email body... (1 Reply)
Discussion started by: aguad3
1 Replies
3. Solaris
Hello All,
I want to list all the VIP addresses assigned to Solaris server.
whats the command we have use on solaris for this?
Please help
Thanks!!
Weblogic Consultant (1 Reply)
Discussion started by: weblogicsupport
1 Replies
4. UNIX for Dummies Questions & Answers
Hi List,
Could someone please point me into the right direction with the following:
I have a file containing a list of street addresses.
I need to sort all the street addresses with the same number to a new file containing the street name and corresponding number.
So:
Strawinskylaan... (3 Replies)
Discussion started by: M474746
3 Replies
5. 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
6. UNIX for Dummies Questions & Answers
Greetings.
I'm in the process of tracking down an issue with Firefox, and need some way of gathering the actual web addresses which are connected to from localhost.
The specific problem centers around the determination/capture of the exact generated app.update.url address formed by the... (2 Replies)
Discussion started by: LinQ
2 Replies
7. UNIX for Dummies Questions & Answers
Hi
i am getting below message while using grep command
"The parameter list is too long"
grep -i 919716499889 *
ksh: /usr/bin/grep: 0403-027 The parameter list is too long.
please let me know what changes i can do in this command (5 Replies)
Discussion started by: scriptor
5 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Let's say if we have a file with a lot of information.
For example:
iiadam
otterhedgehog
kayleigh... (2 Replies)
Discussion started by: ForeignGuy
2 Replies
9. Shell Programming and Scripting
I wish to traverse all files and folders under a given directory say "/tmp/configuration" and for all ip address mentioned therein.
I tried find ./ -type f | xargs grep "*.*.*.*" but it does not populated the correct results.
Can you please suggest. (1 Reply)
Discussion started by: mohtashims
1 Replies
10. UNIX for Beginners Questions & Answers
Hi there from a newbie.
So, I have this huuuge portion of mail addresses with names interlaced.. looks like:
"name1" <mail1@domain1.com>, "name2" <mail2@domain2.com> ...
Sometimes there are no names, just mailaddress. My thought was to use regex with grep. I saved the list in file ma and... (2 Replies)
Discussion started by: dr_xemacs
2 Replies
LEARN ABOUT CENTOS
pmdanamed
PMDANAMED(1) Performance Co-Pilot PMDANAMED(1)
NAME
pmdanamed - BIND (named) PMDA
DESCRIPTION
pmdanamed is a Performance Metrics Domain Agent (PMDA) which exports metric values from the BIND DNS server. Further details on BIND can
be found at http://isc.org/.
INSTALLATION
If you want access to the names and values for the named performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/named
# ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/named
# ./Remove
pmdanamed is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is
installed or removed.
FILES
/var/named/data/named_stats.txt
statistics file showing values exported from named
/var/named/chroot/var/named/data/named_stats.txt
chroot variant of statistics file showing values exported from named
$PCP_PMDAS_DIR/named/Install
installation script for the pmdanamed agent
$PCP_PMDAS_DIR/named/Remove
undo installation script for the pmdanamed agent
$PCP_LOG_DIR/pmcd/named.log
default log file for error messages from pmdanamed
SEE ALSO
pmcd(1), named.conf(5), named(8).
3.8.10 Performance Co-Pilot PMDANAMED(1)