In this article, we are going to learn how to calculate and reduce the script’s runtime. A simple time command...
BASH Articles
Using Bash to monitor battery life and optimize it
In this article, we will learn about the TLP Linux tool. TLP is a command-line tool; it is used for power management...
Creating a simple NAT and DMZ firewall using bash script
In this article, we will create a simple NAT firewall with DMZ using iptables. Prerequisites Besides having a Terminal...
Making a simple IRC chat bot logger using bash script
In this article, we will make a simple bot logger. This script will log a few channels as well as handle the pings....
Encrypting/decrypting files from a script in Linux
In this article, we are going to learn about OpenSSL. In this section, we are going encrypt and decrypt messages and...
Write a bash script to checking for file integrity and tampering
In this article, we are going to learn how to check the integrity of a file and how to check for tampering by writing...
Creating Syslog entries and generating an alarm using a bash script
In this article, we are going to discuss the syslog protocol. We’ll also learn about the logger command, which is a...
Write a bash script to create users and groups systematically
In this article, we are going to learn how to create users and groups through a shell script. Write Script: Now, we...
Write a bash script accessing SQL databases remotely or locally
In this article, we are going to learn how to automate SQL queries by connecting to a server using a shell script....
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...
Write a bash script to configuring basic network connectivity
In this article, we are going to configure basic network connectivity using wpa_supplicant. Prerequisites Besides...
How to executing your script on startup
This script is not limited to running only applications or services at startup, but to also start scripts on bootup...