Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By:
Posted By
perl recursive function issue
I am facing some problem in perl recurssive function function

my @array_parent = (Some inegers);
my $outputfile = 'output.txt';
my $master_file = 'master.txt';
open (MASTER,"$>>master.txt");...
Posted By
date command issue from crontab
Hello Experts,

I am facing problem in date command with TZ
[ date1=`TZ="GMT+28" date +'%d-%b-%Y'`]
[ date2=`TZ="GMT+48" date +'%d-%b-%Y'`]

[ echo $date1 $date2 ]

Output :...
Posted By
date command issue from crontab
Hi Expert,

I am using TZ for extracting yesterday date and day before yesterday date
example :

date_yes=`TZ="GMT+28" date +'%d-%b-%Y'`
date_dbyes=`TZ="GMT+48" date +'%d-%b-%Y'`

Posted By
You want to repalce 0001 in the begging or...
You want to repalce 0001 in the begging or anywhere. Please be specific

you can use sed or tr command to achive this. Otherwise you will write a perl program for the same
Posted By
version number in unix/linux
Use uname -r instrad of uname -a
Posted By
But when i was doing ftp in unix ftp server...
But when i was doing ftp in unix

ftp server

!sh scriptname -> How it will work
Posted By
Net::Ftp in perl
I am trying to execute a script in another server, i used Net::Ftp module

How to execute unix command in another server by using Net::Ftp module..
### Perl script to ...
Posted By
kill command
Good way to kill the process, if the process having it's child
Posted By
tar command use
I am useing tar command

tar -cvf /target/mytar.tar *20100212* [There are more than 50,000 files]

when i am checking the file size in /target directory, it's size is varing, means it touches...
Posted By
Thanks to all of u...
Thanks to all of u...
Posted By
File move and deletion in Unix
I have 63,000 files in a directory [per one day]

I want to move all the 20100219 day files to /target directory

I used
$mv *20100219* /target
too many arguments

Then i used
$find ....
Posted By
re it work fine
Thank u very much durden_tyler..

Perl one liner is very powerful na. If you have any stuff on perl one liner then pls, give me
Posted By
Date Validation in unix
I have a script which is take date as parameter

sh <2010-02-01>


#Here i want to two diffrent dates
## 3 Days before
##date14query=$mydate - 4 (it will be...
Posted By
cut command in while loop
while read line;do
grep "001" $line|awk -F "_[0-9]" '{print $NF}' >> File1.txt
grep "002" $line|awk -F "_[0-9]" '{print $NF}' >> file2.txt
Posted By
Need to understand
could you Please tell how it's work. It's very complex but may be effective. Someone please help me to understand this code
Posted By
awk vs perl
awk -F "|" '{print $2$3$4 upto $30}' file1 > file2

Same logic, i want to write it in perl

I tried
my $line;
open FH, "<file1" or die " Can't open file $!";
open FH1,...
Posted By
grub> unhide (hd0,0) grub> hide (hd0,1) ...
grub> unhide (hd0,0)
grub> hide (hd0,1)
grub> rootnoverify (hd0,0)
grub> chainloader +1
grub> makeactive
grub> boot

it resolves the issue.

---------- Post...
Posted By
re: rm -rf *
But i deleted the files from fedora core OS.

How it deleted files from Windows Xp

---------- Post updated at 01:42 PM ---------- Previous update was at 01:33 PM ----------

when i am...
Posted By
deleted all files - rm *
Hi All,

I am using Fedora Core and Windows Xp. I deleted all the files from root
directory. When i am trying to restart the computer it showing some grub > prompt. What i will do ? I have lots...
Posted By
perl how to escape (|) character
my @array;
my $sepa = "|";
print $sepa;
open FH, "<100_20091023_2.txt";

push @array, split(/\$sepa/, $_);
print "@array\n\n";


I am not able split the line which have...
Posted By
cat issue
I have list of files in my current directory


I don't want to open first and last file. i.e (abc.txt and 123_ex_csv)
I tried
Posted By
perl book
I want to download larry wall's programming perl any edition book for free.

will anybody tell me the location or url where i can get this book.
Posted By
perl time format
Hay guys,

I used time::local module. But i can't get my proper answer from this.

I want to extract two time for tomorrow start time and end time. In my code i just hard coded this. But it's not...
Posted By
It's not working apt-get: command not found...
It's not working

apt-get: command not found

---------- Post updated at 08:20 PM ---------- Previous update was at 08:14 PM ----------

I got the gcc.tar.bz2 file . i extracted these file....
Posted By
gcc compiler
I am using open suse linux. I want to install gcc compiler in my machine. I ahve checked man gcc and man cc. But it's not there. Can someone help me
Showing results 1 to 25 of 62


Featured Tech Videos

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