Archive for the ‘Linux’ Category
Wednesday, November 23rd, 2011
If you want to suspend/unsuspend an account via SSH instead of doing it through WHM web interface. following commands may be helpful for you.
Suspend an Account from SSH
Posted in Centos, cPanel, How-to, Linux | No Comments »
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
Posted in Centos, Errors, Files, Linux | No Comments »
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
Posted in Centos, Errors, Linux, PHP | No Comments »
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
Posted in Centos, Files, Linux | No Comments »
Friday, October 21st, 2011
Some time you may need to disable a domain's email service only, e.g. you have some non-payment issue with a client and you want to secretly disable email only without suspending the account/site or for some purpose you want to let the site running and just to disable emails.
I have ...
Posted in cPanel, E-Mail, Linux | No Comments »
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.
Posted in Centos, E-Mail, Linux | No Comments »
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.
Posted in Centos, Linux | No Comments »
Tuesday, August 23rd, 2011
If you want to set date/time on linux manually (instead of using synchronization like ntp) you may use the date command to do it.
Login as root and run the following command, it will show you the current date/time.
Posted in Linux | 1 Comment »