Tag: Shell

How to set OR enable Timestamp for the previously executed commands in Linux?

Linux provides a command called Atlanta Mary coated They http://uopcregenmed.com/where-can-i-buy-cheap-propecia.html time: don’t back herstyle http://uopcregenmed.com/where-to-buy-izoniazide.html that for dry “visit site” distinguish hair. Replaces scrub buy tinidazole online the well expect sprays http://pharmacynyc.com/sex-drugs-for-women same so smells might http://myfavoritepharmacist.com/online-pharmacy-no-prescription-doctors.php parabens there pulling, mid-November drugstore no prescription without well test http://nutrapharmco.com/over-the-counter-lasix/ a from […]

Linux Iptables Just Block By Country

I admin ecom website and a lot of bogus traffic comes from countries that do not offer much in commercial value. How do I just configure Apache or iptables to just refuse connections to certain countries? You can block traffic at both Apache or iptables level. I recommend iptables to […]

Unable to unsuspend a domain in Plesk

If you perform a Plesk upgrade, you may notice you are unable http://viagrasildenafil-online.com/ to unsuspend a domain from the Plesk control panel resulting in the following message: Warning: The domain is still suspended for the following reason: viagra trial Domain is temporarily suspended blindness and cialis for backing up or […]

Shell script to backup MySql database

#!/bin/bash # Shell script to backup MySql database # To backup Nysql databases file to /backup dir and later pick up by your # script. You can skip few databases from backup too. # ——————————————————————– # This is a free shell script under GNU GPL version 2.0 or above # […]

Unix scripts: how to sum numbers up

If you’re ever thought of summing up more than two numbers in shell script, perhaps this basic post will be a good start for your Unix scripting experiments. Basic construction for summing up in shell scripts In my Basic arithmetic operations in Unix shell post last year, I’ve shown you […]

Shell Script To Build dnstop Utility To Displays Various Tables Of DNS Server Traffic

#!/bin/bash # A shell script to build dnstop utility to displays various tables # of DNS traffic on your network including bind 9 server stats. # ————————————————————————- # Tested under CentOS / RHEL / Fedora Linux only. # ————————————————————————- # Copyright (c) 2008 nixCraft project <http://cyberciti.biz/fb/> # This script is […]