BASH Articles

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...

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 will create a script to add a user. The useradd command is used to create a user. We are going to use...

No Results Found

The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.