Automation
All posts under category "Automation"

Bash: An Example of Optimizing Filtering Commands with grep and awk
I will tell you about a task I solved the other day🧑💻 I slightly changed the input data, but the essence remains the same. There are two CSV files: 📄ping_status.csv contains diagnostic information about host availability by ping.

Bash: Features of Arithmetic Operations - Increment ((expression++))
When testing the host availability check script I mentioned last time, I encountered an interesting Bash feature when performing arithmetic operations💪.

Bash: Writing a Universal Host Availability Check Script
Today we'll write a useful Bash script🧑💻 that performs various host availability checks on the network🌐. As an example, I'll show how to check connectivity using the `ping` utility🏓 and run a traceroute when it's lost⚡.

flock - Locks in Shell Scripts
In this note, we will talk about file locks in Bash scripts🔒 using the specialized utility flock.

Configuring logging of Bash script output
Many users of Linux🐧 systems face the need to write the output of a particular command/script to a log file📑. In this article we will look at several ways to configure journaling (aka logging) in Linux using the popular command shell — Bash, as an example.

Writing an ansible playbook for initial Linux server configuration
Today about automating the initial configuration of a Linux server using Ansible🎺. From setting up locales, timezone, SSH server parameters... to creating and configuring a new user's environment👨💻: Oh-My-Zsh, Neovim, and Tmux.

Ansible — configuration management system: getting to know it
In this note we will get acquainted with a popular open source configuration management system with the telling name - Ansible🎻.

Writing a bash script to connect to an OpenConnect VPN server
Today we'll write and try out a simple but well-thought-out bash script that performs a client connection to an OpenConnect VPN server, which we covered setting up and running in one of the previous articles.

Making functional desktop notifications in Linux: buttons, icons, links
Today I'll show how to create custom functional desktop notifications using the notify-send console utility. Such notifications support active buttons, can display icons, and clickable web links.

