Search Results

Search: Posts Made By: rauphelhunter
Forum: Red Hat 10-11-2010
7,712
Posted By rauphelhunter
hi, Finally it works perfectly when the...
hi,

Finally it works perfectly when the following statement constructed into a shell script instead.

By locating it to part of crontab file, it will not work as it supposes to be. Don't quite...
Forum: Red Hat 10-04-2010
7,712
Posted By rauphelhunter
Hi, No error at all. If without exec, it...
Hi,

No error at all. If without exec, it won't work at all.

It doesn't work only when been scheduled in crontab.
Forum: Red Hat 10-01-2010
7,712
Posted By rauphelhunter
hi In fact, even without the standard...
hi

In fact, even without the standard output, it won't work as well before I put up to the forum.




Thx.. Hope to hear more suggestion
Forum: Red Hat 09-30-2010
7,712
Posted By rauphelhunter
/usr/bin/find && -exec /bin/rm never work as expected
hi there,

Would you able to advise that why the syntax or statement below couldn't work as expected ?

/usr/bin/find /backup -name "*tar*" -mtime +2 -exec /bin/rm -f {} \; 1> /dev/null 2>&1
...
6,167
Posted By rauphelhunter
I would make sure it happen next time. Thanks...
I would make sure it happen next time.
Thanks for advise.
6,167
Posted By rauphelhunter
#file naming
hi all,

Please advise at what circumstance those file will become

-rwxr-xr-x 1 psa psa 1969088 Aug 18 2006 #libaa.sl
-rwx------ 1 psa psa 2166784 Jul 25 2006...
3,472
Posted By rauphelhunter
2nd position is hour, 30 will give error when...
2nd position is hour, 30 will give error when quit cron list. it must be 1-24 only. Wonder it could run properly

apart from that, look correct in term of >
2,107
Posted By rauphelhunter
Archive script
hi guru,

can advise how to construct a housekeeping script using perl for the following ?

find /var/tmp/logs -name "si*" -type f -exec gzip -f {} \;
find /var/tmp/logs -name "*.gz" -type f...
2,536
Posted By rauphelhunter
hi msullivan, would you mind to share how to make...
hi msullivan, would you mind to share how to make past 3 days ?
I was trying to make change of DAY_AGO=3, it doesn't work at all.
3,481
Posted By rauphelhunter
Past date display ( today - N) in shell
Hi,

Any idea to get display of date - n ( n=1,2,3,4 etc) ?
For example , dtoudt will easily execute by dtoudt -3 and result is

>dtoudt -3
1234852529 Date 2009-2-17 time 14:35:29 day...
7,411
Posted By rauphelhunter
Perl - To print past 5 mins timestamp
hi ,
I would like to ask how to get past 5 minutes system time and date, if i have following to get current time.

# get current time
($sec,$min,$hour,$mday,$mon,$year) = localtime(time);
...
2,437
Posted By rauphelhunter
hi redhed, I shall giv away tuition $$. but...
hi redhed,
I shall giv away tuition $$. but just in this short time period, should quite hard to find one. Good that you could. Cheers!
2,437
Posted By rauphelhunter
Hi,would you mind to giv few example for to me to...
Hi,would you mind to giv few example for to me to have a good start.
TQ
2,437
Posted By rauphelhunter
Perl to perfrom string manipulation
Hi,

Please advise me how to perform checking in perl on the following input below.



The output criteria will be

1. field 1 will begin as 913354744 for each as example

2. field 4 must...
8,576
Posted By rauphelhunter
It didn't work as expected date +%F-d"`ll...
It didn't work as expected

date +%F-d"`ll -lrt | awk '{print $9}' | cut -c1-6`"
August-d
080822
080822
080822
080822
080822
080822
8,576
Posted By rauphelhunter
Timestamp & date
Hi,

I have list of files as below, with prefix named as date & time. Anyone how to transform each file as below to yyyy-mm-dd hh:mm:ss






Regards,
11,950
Posted By rauphelhunter
cat & awk
Hi there,

Can show some hit why i got this error?
For eg i have a.txt in which consist of contents as below

1|781494-0015|IV\|I||C|RECHARGE|Success\|V\|\||2007-12-04 02:33:13.000|...
Forum: HP-UX 05-29-2008
6,316
Posted By rauphelhunter
MC/SG Fail to join cluster node
Hi,

Please advise me whereas I have two node cluster server configured with MC/SG. Application and DB are running on Node 1, while Node 2 is standby.
All the volume group devices are part of...
1,829
Posted By rauphelhunter
Hi jaduks, split -l 1 3.unl ls x?? >...
Hi jaduks,

split -l 1 3.unl

ls x?? > file

for x in `cat file`
do

awk '{print > "Mone_$_date.vub" NR}' $x
done


Strange this is Mone_$date.vub1 having the last line ...
1,829
Posted By rauphelhunter
Hi Siba, But look pretty strange the file...
Hi Siba,

But look pretty strange the file result turns out such, and it only echo what <file name> to final Mone.%file_nm.vob

$ cat Mone_20080527165446.vub
xab
1,829
Posted By rauphelhunter
Multiple file needed with certain file_prefix
Hi Guys,

Can I please ask for help? I hv one single file in which contains lines

abc|456|xyx|56475
efg|56758|iew|8938
:
:
:
:
:
zzz|999|fdfj|nnnop

I'm going to break them into small...
3,365
Posted By rauphelhunter
Compare 2 files and give uniq output
Hi ,

Just to find out a way to compare these 2 files and give unique output.
For eg:

1.txt contains
1
2
3
4
5
6

--------------------------------------

2.txt contains
1
2
6
8
6,306
Posted By rauphelhunter
IBM Informix Load and Insert with multiple files
Hi ,

Can you guys please help as I have list of files xaa, xab, xac.........xza for eg in which to perform load the 1st (xaa) and insert into table, then only proceed for the 2nd , 3rd and so...
2,216
Posted By rauphelhunter
how to use remsh to duplicate all...
hi ,

Any idea how to use remsh to duplicate whatsoever ( / ) from host1 to host2 across network with root?

Regards,
2,946
Posted By rauphelhunter
How to read those files and output to base?
Hi,


-rwxr-xr-x 1 abc mkpasswd 2483 Oct 20 15:42 0132200710-ps5_cdrm.unl
-rwxr-xr-x 1 abc mkpasswd 1826 Oct 20 15:43 0132200710-ps5_cdrn.unl
-rwxr-xr-x 1 abc mkpasswd 1788 Oct 20 15:44...
Showing results 1 to 25 of 27

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