Remove files older than x days on Linux
You just need to execute the below command as sudo / root find /path/to/files* -mtime +5 -exec rm {} \;
A Pandit of Server Technologies
You just need to execute the below command as sudo / root find /path/to/files* -mtime +5 -exec rm {} \;
During the recent Cacti configuration I came across a problem where I was not able to read interface traffic, using SNMP, from my Linux servers (I have two Ubuntu 11.10 … Continue Reading →
OpenVAS for CentOS via Atomic Step 1: Configure Atomicorp Repository (as user root, only once) wget -q -O – http://www.atomicorp.com/installers/atomic |sh Step 2: Quick-Install OpenVAS (as user root, only once) … Continue Reading →
#grep -roh contentname path for logs file | wc -w
If you have new website and you want to redirect that website to another domain url you need to add the virtual conf in apache configuration file and reload the … Continue Reading →