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

FFMPEG-PHP: make: *** [ffmpeg_frame.lo] Error 1

Thursday, November 3rd, 2011

While compiling ffmpeg-php from source with make command you may get the following error terminating your making process; make: *** [ffmpeg_frame.lo] Error 1

How To Uncompress Multiple .zip, .gz or .bz2 Files on Linux (Centos)

Tuesday, October 25th, 2011

In situations while using SSH you may want to unzip/uncompress/extract multiple compressed files, you may follow the followings; To unzip multiple zipped .zip files; for file in *.zip; do unzip "${file}"; done

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.

Sendmail: How to Check Mail Messages in Queue

Thursday, October 20th, 2011

You will probably need to execute the following commands either as root or using the sudo command (depends on settings of your server). In some cases you may need to type the path to sendmail i.e. /usr/sbin/sendmail.