Category: Linux

bash: How to Decode base64

Base64 encoding is a widely used technique for transforming binary data into a text-based format, and decoding Base64 strings is a common task in scripting and programming. In this guide,…

bash: How to increment variable

In Bash, variable incrementation refers to the process of increasing the value of a variable by a certain amount. This operation is crucial for tasks like counting iterations in loops,…

bash shebang #!/

The “shebang” is a special line in a script that specifies the interpreter for running the script. It is also known as a hashbang or a pound-bang. In Bash scripts,…

How to generate public/private keys

This post shows how to generate public / private key pair. To generate public/private key pair, simply run the following command:$ ssh-keygen -t rsa Following are step-by-step instructions: 1. Open…

bash shell scripting

A shell script is a code (script) written for the shell or command line interpreter of an operating system such as Unix. It allows users to automate tasks which would…