BASH Articles

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. Prerequisites Besides having a Terminal open, you need to have basic knowledge of IRC. Write script: Now, we will write a script for an IRC logging bot....

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 files using OpenSSL. Prerequisites Besides having a terminal open, you need to have a basic knowledge of encoding and decoding schemes....

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 a simple shell script. Why do we need to check integrity? The answer is simple: administrators check integrity when there are passwords and libraries...

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 shell command and acts as an interface for the syslog module. The logger command makes entries in the system log. In this section, we are also going to...