Ubuntu’s package repositories are organized by release (codename) and components. This guide will help you configure the correct repository URLs in /etc/apt/sources.list or, for […]
Read article
Ever wanted to send emails using the ruby script? Use the one below : require 'net/smtp' puts "Enter the from address:" _from = gets.chomp puts […]
Read article
You may use the below script to test whether the mail function via PHP script is working well in the server. <?php $to = […]
Read article
You might have subscribed for costly monitoring services, however, the following script will help you to keep a track of your site’s availability. Create […]
Read article
Frame forwarding means that the visitors to your website are automatically redirected to another site. But in here, the address in their browser’s address […]
Read article
We here discuss on Bash script to block IPs during DDoS attack. Use the below script to block IP addresses making too many connections. […]
Read article
You can find the Bandwidth usage in cPanel servers using the script given below. awk '{sum+=$10} END{printf("MB: %d\n", sum/(1024*1024))}' /usr/local/apache/domlogs/domainname Eg:- awk '{sum+=$10} END{printf("MB: %d\n", sum/(1024*1024))}' […]
Read article