Linux: Cannot Delete Files from a Directory /bin/rm: Argument list too long

Tuesday, November 15th, 2011

If you're trying to delete files from a directory that have too many files and over sized then simply rm command will not work and you will get error /bin/rm: Argument list too long

WordPress: Automatically Expire Posts After Specific Date/Time

Thursday, October 20th, 2011

Some time you may not want to keep a post published on your wordpress blog e.g. announcing some promotion, events etc. Instead of permanently deleting that post you may hide/expire that from your articles. For the purpose you can replace the existing posts looping code with the following in your ...

Sendmail: How to Clear/Flush Sendmail Queue

Thursday, October 20th, 2011

Some time you want to clear/delete/flush all messages in current sendmail queue. You may follow the instructions below for the purpose.