Remove a space in front of word or words in a file
Script to remove space in front of a word in a file? Just use this command to remove the space in front. cat filename |cut -d”:” -f2 |sort | sed -e ‘s/^[ \t]*//’ Now...
Script to remove space in front of a word in a file? Just use this command to remove the space in front. cat filename |cut -d”:” -f2 |sort | sed -e ‘s/^[ \t]*//’ Now...
How to allow some other extensions like .docx, .app and etc in the mailscanner?I have followed this post to allow the .zip extensions to in the mailscanner. http://linux-bloggers.blogspot.in/2012/06/mailscanner-allow-zip-tar-gz-extension.html However, when I am trying to...
How can I configure MailScanner to allow zip/archive files through even if they contain an exe file or other potentially dangerous filename or filetype?You can configure MailScanner to not check archives (zip, tar.gz etc).1)...
When you try to access the website, you will be getting an error message stating as follows:===== Authorization Error ===== Its a known issue if you are running Plesk with IIS. You can resolve...
When using PHP 5.3.3, php pages will be throwing internal server error when you select the PHP handler as CGI/FCGI.You will be finding the following error message in the Apache logs.====== Premature end of...
Detect top 10 spammers in eximEximstats is a useful command to find spamming in the cpanel server. Execute the following command in your terminal/usr/sbin/eximstats -t10 /var/log/exim_mainlog > teststats The stats output will be appended...
How do I flush a computer DNS cache? To flush DNS cache in your computer or PC Flush dns to get a new nameserver resolution for a domain. Flushing DNS cache might also helps...
Server error : Upload directory isn’t writable. in wordpressWhen you have added a 3rd party plugin in the wordpress, there might be a change that you will get the above error. The simple solution...
I have installed the CSF in the server. When I try to run the perl test in the CSF, it is giving the following error.=============== # perl /etc/csf/csftest.pl Testing ip_tables/iptable_filter…OK Testing ipt_LOG…OK Testing ipt_multiport/xt_multiport…OK...
At times, you will find the following error message in the “/var/log/messages” ======= FAIL: ftp per_source_limit from=xxx.xxx.xxx.xxx ======= You can resolve the issue by adding the following line in the file ‘/etc/xinet.d/ftp_psa’ ======= per_source ...