Search Results

Search: Posts Made By: tadi18
3,609
Posted By tadi18
search string during a specific time frame
Can someone please help me with searching a string during a specific time frame. Below is the format of the time from my log file.

[27/Apr/2009:09:39:33 -0400] "GET /AAM2009_wherewereheaded.wmv...
4,581
Posted By tadi18
Thanks. It worked!
Thanks. It worked!
4,581
Posted By tadi18
Thanks Bubbajoe. I tried it but it failed with...
Thanks Bubbajoe. I tried it but it failed with following error

"sed: -e expression #1, char 2: invalid usage of line address 0"
4,581
Posted By tadi18
What I meant is that I tried the following : ...
What I meant is that I tried the following :

sed -i 's/STRING1/STRING2/1' file_name


I expected it to replace the first occurrence of string 1 but it rather replaced all occurances. Please...
4,581
Posted By tadi18
Thanks guys!. I tried the following sed -i...
Thanks guys!. I tried the following

sed -i 's/<param\ name=\"ConversionPattern\"\ value=\"\[%d{ABSOLUTE},%c{1}\]\ %m%n\"\/>/<param\ name=\"ConversionPattern\"\ value=\"\[%d{ABSOLUTE},%p,%c{1}\]\...
4,581
Posted By tadi18
find and replace! Urgent
I am trying to find and replace the following line in log4j.xml:

<param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>

to

<param name="ConversionPattern"...
100,088
Posted By tadi18
Thanks Guys! It works now.
Thanks Guys! It works now.
100,088
Posted By tadi18
Thanks radoulov! It works but i have a smaill...
Thanks radoulov! It works but i have a smaill problem with that. I tan this command as yu mentioned:

root@nlvmas711:PROD:~> find /u01/tomcat4/webapps -path '/u01/tomcat4/webapps/pwp/WEB-INF/cache'...
100,088
Posted By tadi18
Find but exclude directories
Hello,

I have a line in my script to find the files changed in the last 24 hours. It is as below:

find /home/hary -type f -mtime -1

I now want to exclude a directory named...
13,647
Posted By tadi18
Thanks
Thanks everyone. It works!!
13,647
Posted By tadi18
Unix Kill processes
Hi guys,
I am new to Unix shell scripting. Can anyone of you tell me how to kill all the processes at a time for a particular user?(No listing the process ID of each process in the kill -9...
6,710
Posted By tadi18
Thanks
Thanks for your message
6,710
Posted By tadi18
remotely installing apache server using Shel scripting
Hi guys,
I am trying to install apache server onto a remote machine. I file transferred the .gz file and extracted it on the remote server using shell scripts.
Then I used the make and...
Showing results 1 to 13 of 13

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