Skip to content
Home » scripting

scripting

Writing Batch Files That Stand the Test of Time: Using Comments to Document Changes

As an IT professional, you are no stranger to batch files. Batch files are scripts that automate tasks in Windows. Comments are an essential component of batch files. They help you and other IT professionals understand the purpose of the script and how it works. In this blog, we will… Read More »Writing Batch Files That Stand the Test of Time: Using Comments to Document Changes

Automating Mundane Tasks in Linux Terminal

You likely perform many mundane tasks in the terminal on a regular basis. These tasks can range from renaming files in bulk to compiling code, to even running complex scripts. Doing these tasks repeatedly can be time-consuming and boring. However, with the power of the terminal and some scripting skills,… Read More »Automating Mundane Tasks in Linux Terminal

Use tee Command for Redirecting Terminal Outputs

The tee command is a fundamental tool for Linux users. This command allows you to capture and manipulate the output of other commands and redirect it in various ways. This makes it a powerful tool for logging, debugging, and scripting. In this article, we’ll explore the basics of the tee… Read More »Use tee Command for Redirecting Terminal Outputs

Automate Your Bash Workflow with Wildcards

Wildcards are an essential component of bash shell scripting and can be used to match patterns in filenames and directories. In this article, we’ll explore the ins and outs of using wildcards in bash and demonstrate their practical applications with real-world examples. Prerequisites Before diving into the topic, it’s important… Read More »Automate Your Bash Workflow with Wildcards

Control the Flow of Your Script with Bash Conditionals

Bash conditionals are an essential part of scripting in the Unix shell. They allow you to control the flow of your script based on conditions or variables that you specify. With bash conditionals, you can create complex scripts that can make decisions and execute commands based on a variety of… Read More »Control the Flow of Your Script with Bash Conditionals