Using Linux iptables for a firewall

In this article, we are going to set up a firewall using iptables. iptables is the standard firewall software present in most Linux distributions. We are going to use these set of rules to filter the network traffic. You can protect the server from unwanted traffic by...

Write a bash script to monitoring directories and files

inotify is a tool in Linux which is used to report when a file system event occurs. Using inotify, you can monitor individual files or directories. Prerequisites Make sure you have the inotify tool installed on your system. How to do it Create a script...