This post addresses how to configure the Linux firewall to protect a Debian-based web application server. While there are GUI tools for the job, we will focus on the command-line tool iptables. The scenario is that you have just installed Debian (or Ubuntu) on a server connected to the Internet. This will be used as a web server hosting your WordPress blog. I assume that you already have Apache, and WordPress installed.
With the help of isdigit() function we can check if a string start with number or not.
Lets check with following examples:
>>> input = '1viewsby'
Above example is returned true since input string is started with with number.
>>> input = 'viewsby'
Since input is is not started with number above example returned false.
The iostat command is used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates.
The iostat command generates reports that can be used to change system configuration to better balance the input/output load between physicaldisks.
How to install iostat:
iostat is available in sysstat module, so to install iostat we need to install sysstat module.
Use following command to sysstat:
The internet has gone viral with videos of celebrities and other popular personalities taking the "Ice Bucket challenge" and daring three others to do the same. Here is what you need to know about it: