Search Results

Search: Posts Made By: nandanlbhat
11,391
Posted By nandanlbhat
Hello, You need two partitions, a 512 MiB -...
Hello,

You need two partitions, a 512 MiB - 1 GiB /boot and the rest in an LVM physical volume. Keep all mount points in logical volumes for flexibility.

On creating two partitions, both...
Forum: Red Hat 05-15-2016
2,609
Posted By nandanlbhat
Also bear in mind that exam fee for taking it...
Also bear in mind that exam fee for taking it without official course is higher (3x).
1,409
Posted By nandanlbhat
Hello, This looks like the default...
Hello,

This looks like the default configuration file.

Your web server probably has a location specified for the vhost log. Check if there is a httpd (or similar) file under logrotate.d. My...
1,409
Posted By nandanlbhat
Logrotate
Can you post the sanitized configuration file?

It is difficult to guess by your statement of /etc/logrotate.conf seems OK.

---------- Post updated at 02:49 PM ---------- Previous update was at...
31,724
Posted By nandanlbhat
Use of shatedscripts
Hi Matt,

On re-reading the blurb about sharedscripts, it looks like sharedscripts will trigger if at least one log matches the criteria in your config. On the flip side, no sharedscripts will...
31,724
Posted By nandanlbhat
Use of shatedscripts
Hello Matt,

Have a look at the man page:
man logrotate / man logrotate.conf .


You are on the right track. Sharedscripts portion reproduced here.

sharedscripts
Normally, prerotate...
16,019
Posted By nandanlbhat
The for loop...
Your for loop is a bit wonky in the first line. I suggest reading up a bit before trying stuff on system files.

The general form is
for VARIABLE in list-of-possibilities

So, for your...
9,573
Posted By nandanlbhat
sed can do the substitution
If you have the code in /tmp/test.c, try

sed -e "s/()/(void)/" /tmp/test.c to see/preview it and

sed -i.bak -e "s/()/(void)/" /tmp/test.c for an in-place substitution within the file. If...
Showing results 1 to 8 of 8

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