Ever trying to remove a lot of file like this ?
[root@blah]# ls -l log/ | wc -l
It wont work if you just remove it with rm because there will be an error message (i.e.
/bin/rm: Argument list too long). So how to remove it ?? I use this command to remove it
[root@blah]# find ./ -name ‘msg.*’ | xargs rm -fv
msg.* becasue the filenames I want to remove begin with
msg.. You can vary it depend on your need.