
Bash: Generating configs with envsubst, here document, and here string
In this note, we will briefly look at a few simple ways to build a config from a Bash script using here document, here string, and envsubst.
All posts under category "Automation"

In this note, we will briefly look at a few simple ways to build a config from a Bash script using here document, here string, and envsubst.

A regularly updated selection of useful Ansible playbooks 🎻.

A regularly updated collection of complex and long shell commands 💻

A regularly updated collection of useful shell snippets 💻.

In this short note, we will write a Bash script that moves the mouse pointer one pixel and back at a specified interval. This is useful if your desktop is regularly locked because there is no user activity😉.

In this note, I have put together a small roadmap for those who want to learn programming in the Bash shell language.

Shebang is the #! sequence at the beginning of an executable file that tells the system which program should interpret this script📝.

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.

When testing the host availability check script I mentioned last time, I encountered an interesting Bash feature when performing arithmetic operations💪.

In this note, we will talk about file locks in Bash scripts🔒 using the specialized utility flock.
Enter keywords to search articles