Search Results

Search: Posts Made By: logic0
5,282
Posted By logic0
Need to add a line to httpd.conf
Hi ,

Need to add a following line to many webserver configuration .

ie. Need to make following entry in "LimitRequestLine 4000" in httpd.conf.

Any ideas welcome

Regards,
logic0
3,469
Posted By logic0
Deleting the files in a loop
We have alias set in our profile . forcing rm= 'rm -i' . And we are not allowed to modify the profile....

I have a directory in which i need to delete around 100 files + .

but if use rm ... I...
30,993
Posted By logic0
try this
uuencode <filename> <filename> | mailx -s "Logs" <mailid>


example : "uuencode APP_LDAP.csv.gz APP_LDAP.csv.gz | mailx -s "Zipped logs" cooldude@yahoo.com"
11,303
Posted By logic0
thanks
it works just like that kool:)

cheers
logic0
11,303
Posted By logic0
-i illegal
i am using solaris 8. sed with -i tells

sed: illegal option -- i
11,303
Posted By logic0
sed not working
I am working on sed ... to replace a string... but not able to save.

i need to repalce a string in httpd.conf in numerous directories.

I am doing this

find /opt/apache/*/conf/ -name...
22,626
Posted By logic0
copying to multiple directories using wildcard
Can we copy a file to multiple directories using a single command line , i tried with * didnt work for me

cp /tmp/a.kool /tmp/folder/*/keys/


I am tryn to copy a.kool file to all keys folder...
13,676
Posted By logic0
require alternate command for lsof
Using lsof command i can find out which process-id is associated with the port.
lsof -i :51000

. But as part of process i cant have lsof in the server.

I am using sun solaris 8 and only...
20,659
Posted By logic0
thanks anbu
thanks anbu.. it worked kool !!! cheers
20,659
Posted By logic0
lamme question
output of /tmp/log is like
./access.log
./logs/access.log

in command i see using

while read file

file is the /tmp/log ?
20,659
Posted By logic0
script to rename files with current date and copy it.
I have few webservers logs like access.log. which would be growing everyday.
what i do everyday is, take the backup of access.log as access.log_(currentdate) and nullify the access.log.

So...
Showing results 1 to 11 of 11

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