The Fastest Way to Back Up a File in Bash (You’re Probably Not Using It)
When working in the terminal, backing up a file before editing it is a habit that saves time, nerves, and sometimes entire systems. There’s……
# Linux, Devops, Scripting, Cats and various things come to my mind
When working in the terminal, backing up a file before editing it is a habit that saves time, nerves, and sometimes entire systems. There’s……
Yesterday, I had a small failure. I’m the kind of person who makes many small mistakes but also often feels quite confident that things……
Ever needed to generate a batch of random-sized files for testing or development purposes? Whether you’re stress-testing file systems……
Imagine a script that deletes itself after it runs — poof, gone, like it never existed. While this might sound like something out of a spy……
Bash pipelines are an essential feature for chaining commands, but managing errors effectively within a pipeline can be challenging. By……
Bash scripts are a powerful way to automate tasks on Linux systems. However, in some cases, you may want a script to only execute under……
Assume the following scenario, you want to create a script that will colorize strings! simple right? and it is simple but we need first to……
Working with crontabs in remote servers usually takes place with the following procedure, Assuming that you follow bad practices like me……
Assume that you want to create a script that will run forever unless ctrl+c is pressed.. well as you might already know is that you can do……
Bash, or the Bourne-Again Shell, is a powerful and widely used command-line interpreter in Unix-like operating systems. In Bash scripting……