Search Results

Search: Posts Made By: INHF
2,398
Posted By INHF
Perl error while using File::Tail
Hi,

Can someone help with this PERL code; I am getting this error while running below code:
And this is the code:

use File::Tail;
$file=File::Tail->new("/some/log/file");
while...
5,255
Posted By INHF
Sorry about that, I have edit it in a UNIX text...
Sorry about that, I have edit it in a UNIX text editor.

Can someone please help with this now?

Thank you all
5,255
Posted By INHF
PERL code to check if file exists
Hi Guy’s,

I have this simple PERL code which checks whether the file exists . At the moment I am getting the following error

This is the code I am using


#!/usr/bin/perl
Open (F,...
6,167
Posted By INHF
Do I need to store node name of the host server? ...
Do I need to store node name of the host server?

Can I keep the backup in the same directory that I am working on?

Thank you all again
6,167
Posted By INHF
I have temporary file and I want to create a...
I have temporary file and I want to create a backup pipe file which will allow me to process the file without loosing anything.


Can I change the remote location to a location that I want?

...
6,167
Posted By INHF
Bash code to create named Pipe
Guy's,

I need help with creating a pipe, I found this code online but not exactly sure what different parts are doing.

Will someone be able to help me with explaining what code is doing?
...
4,768
Posted By INHF
Help with Unix and Awk to count number of occurrences
Hi,

I have a file (movies.sh), this file contains list of movies such as
I want to redirect the movies from movies.sh to file_to_process to allow me process the file with out losing anything. ...
2,348
Posted By INHF
grep 'datafile' *.info All I require is grep...
grep 'datafile' *.info

All I require is grep command that finds file by content.
2,348
Posted By INHF
Need help to find script
Hello,

I have a log file which is called datafile.info. This file contains data from a script but I can't find the script.

I have tried to grep the file name but I am only getting the...
8,185
Posted By INHF
I am not sure if this will help but may be try...
I am not sure if this will help but may be try and use another output file (this will be temporary file) which will allow you to store the data then may be using the AWK code you have process the...
1,291
Posted By INHF
Unix, awk to read .ksh feed
This is live feed which runs on the background, meaning it contains the data for the day and I need to run script and will get data from 2 hours minus the current time.

Sorry I am not explaining...
1,291
Posted By INHF
Unix, awk to read .ksh feed
I need some advice, I have live feed containing xml messages which means there is new messages every minute. I need a script that will run every 2 hours using the current time minus 2 hours ( which I...
1,610
Posted By INHF
nawk time substracting
Nawk ‘BEGIN {printf “0t%d=Y\n”,srand () -1800}' | adb
I know that printf is printing the value in %d which is for a day of the month and subtracting the value by -1800 (30 minutes).
So if date...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 12:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy