Finding an Efficient Solution on Reading and Comparing CSV files

I have always worked with Linux Systems and thus Bash was my go to tool for some specific tasks. But now I am much more aware with Python than Bash as it does give me better grasp on things. I am not saying that for server scripting, Bash can not do some tasks. It can be used in a vast area of things to solve. But I am now comfortable with Python more.

Recently, I did stumble upon of a task that was related to comparing two huge CSV files.

Continue reading Finding an Efficient Solution on Reading and Comparing CSV files

SSH Config and Ansible Host Generator and Why I am doing it this way?

I am recently playing the role as an SRE and that is why I have to deal with a lot of servers. Not only cloud once or clusters but also bare metals as well as Virtual Machines. For more systematic environment preparation, I have Gitlab pipeline. But for basic tasks like change the config on demand or check a specific directory or search something or any other unpredictable or repeated tasks, I need Ansible for better grasp from my local machine or Bastion server. So, what do I have to do?

  • Create an entry to the .ssh/config file
  • Create an entry ansible host file as inventory

Repeated tasks? For me, yes. I needed to manage these. So, created a python script

Continue reading SSH Config and Ansible Host Generator and Why I am doing it this way?

Windows Batch Script to Put Ping Output in a Text File

In DOS, OS/2, and also Microsoft Windows, batch file is the name given to a type of script file, a text file containing a series of commands to be executed by the command interpreter. A batch file may contain any command the interpreter accepts interactively at the command prompt. A batch file may also have constructs (IF, GOTO, Labels, CALL, etc.) that enable conditional branching and looping within the batch file. Recently i was playing with it and got a cool script while playing with ping command which will output ping results in a text file in Desktop. Continue reading Windows Batch Script to Put Ping Output in a Text File

Shell Script to Generate Fibonacci Series Iteratively and Recursively

By definition, the first two Fibonacci numbers are 0 and 1, and each subsequent number is the sum of the previous two. I will show you two shell script to generate Fibonacci series recursively and iteratively. Also you will get idea about the application of Fibonacci series/numbers. Continue reading Shell Script to Generate Fibonacci Series Iteratively and Recursively

Single Command to Download and Install All Bangla Fonts in Your Linux

I have created a script which will download and install 70 Bangla fonts(with variations of them) without searching. Just run this script in your Linux based PC/Laptops terminal and get all Bangla fonts instantly without hassle.

Continue reading Single Command to Download and Install All Bangla Fonts in Your Linux
%d bloggers like this: