by Satish Kumar | Feb 22, 2021 | BASH
In this article, we are going to learn how to automate SQL queries by connecting to a server using a shell script. Bash scripting is used for automating things. Prerequisites Make sure that mysql, postgres, and sqlite are installed. Ensure that the...
by Satish Kumar | Feb 21, 2021 | Linux
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...
by Satish Kumar | Feb 20, 2021 | Linux
In this article, we are going to discuss the logrotate Linux tool. Using this tool, administration of systems becomes easy. The systems generate large number of log files. This allows for automatic rotation, removal, compression, and mailing of log files. We can...
by Satish Kumar | Feb 19, 2021 | Linux
There is a difference between a compressed and an archive file. So, what is an archive file? It is a collection of files and directories that are stored in a single file. An archive file is not a compressed file. What is a compressed file? This is a collection of...
by Satish Kumar | Feb 18, 2021 | BASH
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...