Skip to content
Home » Automation » Scripting » Page 8

Scripting

Take Your Logging Skills to the Next Level with Linux Logger

As a Linux user, you’ve likely come across the logger command at some point. This handy tool allows you to record messages, or “logs,” from the command line or within scripts. But there’s more to logger than meets the eye – keep reading to learn some lesser-known features and practical… Read More »Take Your Logging Skills to the Next Level with Linux Logger

Automating Tasks in Bash with Command Chaining

Different Operators for Chaining Commands There are several different operators that you can use to chain commands in bash. These include: For example: This creates a new folder called myfolder and then changes into that folder. If the mkdir command fails, then the cd command will not be executed. For… Read More »Automating Tasks in Bash with Command Chaining

Bash Arithmetic 101: The Beginner’s Guide to Calculating in the Shell

Bash is a Unix shell, which is a command-line interface for interacting with an operating system. One of the useful features of Bash is the ability to perform arithmetic operations and manipulate numbers directly within the shell. In this blog, we will discuss how to perform arithmetic operations in Bash… Read More »Bash Arithmetic 101: The Beginner’s Guide to Calculating in the Shell

Bash Variables 101: A Beginner’s Guide to Working with Arguments, Strings and Integers

Welcome to this blog on bash variables! In this post, we will discuss various types of variables that can be used in bash scripts, as well as some examples of how they can be used to increase productivity and efficiency. Variables with arguments First, let’s start with bash variables that… Read More »Bash Variables 101: A Beginner’s Guide to Working with Arguments, Strings and Integers