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,…
Simply Explaining Technology
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,…
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,…
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,…
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…
The rm command deletes files. To delete a directory that is not empty and its subdirectories, use$ rm -rf directory However, sometimes you need to remove a specific subdirectory rather…
There are many ways to create an empty text file from command line. This post shows 3 ways. To create empty file from Linux command line, you can use one…
To rename multiple files using the command line, you can use the rename command or a shell script. Its syntax is as follows. As you can see, the catch is…
This post shows how to change file extensions using bash. To change file extensions, we simple need to loop through file in a directory and use the “mv” command to…
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…
The following code reads files in a directory called SQL. Then if runs an SQL command with the file name as input. Finally, it deletes the file from the directory.