skip to main
|
skip to sidebar
Techie Tips
A way to your Success...!
Pages
Popular Posts
Forcefully remove LVM
You may come across the below error while removing an LVM especially with Xen nodes. lvremove -f /dev/xen/vmXXX_img Logical volume xe...
Read-only locking type set. Write locks are prohibited. (LVM)
If you receive the following error while creating the LVM, here is the fix ----------------------------- Read-only locking type set. Wri...
CentOS Rescue
Rebuilt the madadm . conf and re-configured grub on MBR of sda To rebuild the mdadm.com ==> mdadm --detail --scan >> /etc/ md...
Adaptec Raid Monitoring
You can download the source from here http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v7_31_18856.tgz /usr/StorMan/arcc...
Script to block IP address which has more connection to the port 80
###This will block the IP which has more than 50 connection to the port 80##### netstat - anpl | awk '{print $5}'| grep : 80...
Enable IPv6 on OpenVZ node
This page provides a guideline for setting up IPv6 on a CentOS 6.2 OpenVZ host node. We used SolusVM, but this guide is applicable to any...
Check Load average with OpenVZ
# ! /bin/bash # This script checks the load average for the vps and reboot it if any of the vps load average goes higher than 7 load=`/u...
ARP with OpenVZ
Your OpenVZ VPS may got inaccessible due to the ARP conflict. This problem is not a bug or a server configuration issue, its caused by ...
HP Smart Array RAID status on CentOS
(1) You can download the rpm from here: wget ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p1257348637/v71527/hpacucli-9.10-22.0....
FFMPEG Installation
Install ffmpeg, flvtool2, mplayer, mencoder and ffmpeg-php in Cpanel, CentOS, RHEL This is by far the easiest way to get up and running...
Blogroll
About
About Me
Unknown
View my complete profile
Powered by
Blogger
.
Friday, May 2, 2014
Best way to delete large directorycontaining thousands of files
#mkdir empty_dir
#rsync -avz --delete empty_dir/ yourdirectory/
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Blogger templates
Blogger news
Blog Archive
►
2016
(3)
►
January
(3)
►
Jan 28
(3)
►
2015
(3)
►
August
(1)
►
Aug 19
(1)
►
July
(2)
►
Jul 10
(2)
▼
2014
(38)
►
November
(3)
►
Nov 14
(3)
►
July
(7)
►
Jul 12
(1)
►
Jul 07
(5)
►
Jul 06
(1)
►
June
(3)
►
Jun 15
(1)
►
Jun 14
(1)
►
Jun 11
(1)
▼
May
(4)
►
May 13
(1)
►
May 12
(1)
►
May 03
(1)
▼
May 02
(1)
Best way to delete large directorycontaining thous...
►
April
(8)
►
Apr 30
(2)
►
Apr 28
(5)
►
Apr 19
(1)
►
March
(13)
►
Mar 29
(1)
►
Mar 25
(12)
►
2013
(28)
►
December
(2)
►
Dec 31
(1)
►
Dec 22
(1)
►
October
(26)
►
Oct 31
(2)
►
Oct 09
(1)
►
Oct 05
(4)
►
Oct 04
(19)