Bash, or the Bourne Again Shell, is a popular command-line interpreter for Unix-based systems. It is often used to...
BASH Articles
Dealing with user input in bash script
Dealing with user input in bash script can be a tricky task, but with a little bit of knowledge and practice, it...
Variable naming in bash script
When it comes to writing a bash script, one of the most important things to keep in mind is how you name your...
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...