Search Results

Search: Posts Made By: pb18798
22,275
Posted By pb18798
Hi zaxxon I have one ore dout.. find...
Hi zaxxon

I have one ore dout..

find . -type f -name "*.log" -mtime 3 -print

its showing current directory *.log files this is k for me

but if i use
find . -type f -name...
22,275
Posted By pb18798
it should give the files from older than 1 day ...
it should give the files from older than 1 day ...
22,275
Posted By pb18798
s ur right, but its showing the files older than...
s ur right, but its showing the files older than 3days not showing older than 2 or 1st day files...
22,275
Posted By pb18798
Thank u Zaxxon, its working fine.. find ....
Thank u Zaxxon, its working fine..

find . -type f -name "*.log" -mtime+1 -print
if i use above command, its showing *.log files older than 3 days but it should give older than 1 day na...
22,275
Posted By pb18798
Delete last 10 days logs
Hi

Can u please tell me how to delete last 10 days logs ..
2,083
Posted By pb18798
Could you please provide solution ....
Could you please provide solution ....
Forum: Open Source 08-25-2008
342,848
Posted By pb18798
i thought vi is faster...
i thought vi is faster...
2,083
Posted By pb18798
pull xml's from logs
Hi Frnds

I Want to pull xml's from logs based on the below condition.In each log having so many xml's it's taking so much of time to search all logs manually...can u please provide solution
...
26,973
Posted By pb18798
10 u very much.........
10 u very much.........
26,973
Posted By pb18798
suppose if i want search more than two can i use...
suppose if i want search more than two can i use like

grep -l "word1" *.log|xargs grep -l "word2" |xargs grep -l "wrod3"
26,973
Posted By pb18798
!0 u , its working........ could you please...
!0 u , its working........

could you please tell me how it will work.....
26,973
Posted By pb18798
Hi vidya egrep -l "word1|word2" * i...
Hi vidya

egrep -l "word1|word2" *

i have tried this one but its given all file names....its working like or command

but i want files that should be word1 and word2 , the above script working...
26,973
Posted By pb18798
Hi Palsevlohit Thank U very much yaar ,its...
Hi Palsevlohit

Thank U very much yaar ,its working fine.............

i have one more dout, is is possible to do using grep or find..........
26,973
Posted By pb18798
i have tried with below statement,its giving a...
i have tried with below statement,its giving a file names but some files having only 6314245093 number i.e its working like or

i am searching for &

find . | egrep -l...
26,973
Posted By pb18798
i have tried but that one given file name having...
i have tried but that one given file name having only word2,

but i want filenames that should be word1 and word2....
26,973
Posted By pb18798
i want file names that should be word1 and word2
i want file names that should be word1 and word2
26,973
Posted By pb18798
Any one please give a solution.......
Any one please give a solution.......
26,973
Posted By pb18798
search multiple words using grep
Hi frnds

i want to desplay file names that should be word1 and word2

ex :

i have 10 *.log files

5 files having word1 and word2
5 files having only word1,

i have used below...
Showing results 1 to 18 of 18

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