09-11-2002
Thanks for your help Kevin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all, new to the threads as well as Unix/Linux. I need to create a script that will delete any temporary files as well as check the files on the system for errors or corruption. This is what I have so far and I'm sure that I'm missing things or have the wrong commands. I'm not sure where to go... (3 Replies)
Discussion started by: Bwood1377
3 Replies
2. UNIX for Dummies Questions & Answers
Hello,
One of the senior network admins at work told me that I should not hard code temp files into my scripts. Rather I should use the mktemp commands in the script to create them on the fly.
His argument was that if a malicious user knew the name of my temp files in the script they could... (6 Replies)
Discussion started by: mojoman
6 Replies
3. Shell Programming and Scripting
Hi there,
As a regular unix user I am forever programming on the command line or writing scripts so that I first write a load of data to a file to read from. In the end I am always left with a bundle of .txt, .tmp which is what I usually call them. As a basic programmmer I was wondering is... (6 Replies)
Discussion started by: cyberfrog
6 Replies
4. Shell Programming and Scripting
HI,
I am from testing background. I have a scenario of a file generation, through cronjob, on a defined path.
After I fill the data as 100 % utilized, my application is generating an empty file on the defined path.
# df -kh
Filesystem Size Used Avail Use% Mounted on... (3 Replies)
Discussion started by: atulbassi83
3 Replies
5. Shell Programming and Scripting
Hi All,
I have a requirement where I need to compare 2 files & if the values in the files match, it should proceed, else exit the script without proceeding further.
For e.g : Scenario 1
In this case, the script should exit without proceeding further.
Scenario 2
In this case, the script... (7 Replies)
Discussion started by: dsfreddie
7 Replies
6. OS X (Apple)
I'm looking for help with finding where plugin data and other page resources are stored on the hard disk in safari 6.0. With the new update, the activity window has been merged into the develop menu under "show page resources" and one cannot access them directly.
I tried running opensnoop to see... (3 Replies)
Discussion started by: sakurashinken
3 Replies
7. Shell Programming and Scripting
Hi,
I've a script which creates a temp flat file for storing all business dates received on a single day from diff control files sent by source system on that day.
e.g on 12th april I receive txns for business day 8,9,10,11 april.
I capture this business day and append to a flat file from... (1 Reply)
Discussion started by: manojg9
1 Replies
8. Shell Programming and Scripting
Heyas
As some applications (sed,grep,vi, etc) create some tempfiles, i'd changed a script to this: (sadly i cant find the original post (code) anymore (which just removed 2 'diffrent kinds'), just similar ones - forgot that as i was new to all this)
:) ~ $ cat $(which rmtf)
#!/bin/sh
#... (1 Reply)
Discussion started by: sea
1 Replies
9. Shell Programming and Scripting
Hi ! :)
I noticed that I create often of temporary files to keep character strings or other and I wish to avoid that if possible ? e.g :
#!/bin/bash
CONFIG_FILE="conf.cfg"
TEMP_HOSTNAME="temp_file1.txt"
for IP in `egrep -o '({1,3}\.){3}{1,3}' $CONFIG_FILE`
do
ssh "$IP"... (2 Replies)
Discussion started by: Arnaudh78
2 Replies
10. Shell Programming and Scripting
Hi All,
I am having a situation now to delete a huge number of temp files created during run times approx. 16700+ files. We have never imagined that we will get this this much big list of files during run time. It worked fine for lesser no of files in the list. But when list is huge we are... (7 Replies)
Discussion started by: mad man
7 Replies
LEARN ABOUT DEBIAN
net::whois::ripe::iterator
Net::Whois::RIPE::Iterator(3pm) User Contributed Perl Documentation Net::Whois::RIPE::Iterator(3pm)
NAME
Net::Whois::RIPE::Iterator - iterator for RIPE object's.
SYNOPSIS
use Net::Whois::RIPE;
use Net::Whois::RIPE::Iterator;
$whois = Net::Whois::RIPE->new($host);
$iterator = Net::Whois::RIPE::Iterator->new($whois,$query);
while ($obj = $iterator->next) {
...
}
DESCRIPTION
Implements an iterator for Net::Whois::RIPE::Objects.
CONSTRUCTOR
new (WHOIS, QUERY)
The constructor returns undef on failure. If debug is on then a message is carped about the failure.
WHOIS is an object of class Net::Whois::RIPE
QUERY is a query string to be sent to the WHOIS object to retrieve the whois objects.
METHODS
next()
Returns the next Net::Whois::RIPE::Object from the query.
Returns undef if no more objects.
debug(LEVEL)
Sets/gets debugging level on the class or an object.
0 - no debugging
1 - debugging on
AUTHOR
Kevin Baker, <shagol@users.sourceforge.net>
SEE ALSO
Net::Whois::RIPE
Net::Whois::RIPE::Object
COPYRIGHT
Copyright (C) 2000 Kevin Baker and APNIC Pty. Ltd.
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation;
either version 1, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the
Free Software Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139, USA.
POD ERRORS
Hey! The above document had some coding errors, which are explained below:
Around line 23:
'=item' outside of any '=over'
Around line 33:
You forgot a '=back' before '=head1'
Around line 35:
'=item' outside of any '=over'
Around line 48:
You forgot a '=back' before '=head1'
perl v5.10.0 2006-04-17 Net::Whois::RIPE::Iterator(3pm)