© 2023 Hashnode
#bash-script
While I ran these commands in macOS using iterm2, the tricks are valid for most of the terminals out there. Quick side note: My username is rishirajpurohit but it will be your username for the below e…
In the last blog, we learned about the basic bash shell scripting, variable declaration, taking user input& arguments, and If-else. in this video, I’ll share some more topics like If-elif, functions, …
In order to get things done in our daily lives, we must perform repetitive tasks. For instance: when running a number of commands, request regular backups from administrators, and keep an eye on the s…
Debugging techniques Debugging bash scripts can be done using a combination of techniques. 1. Use the built-in set command The set command allows you to enable debugging for a bash script. It can be u…
If you are a VMware customer you most likely have an account on VMware Customer Connect (VCC). Sure, you can visit the site in your favorite browser, log in with your account credentials, navigate to the desired artifact, and download it. B…
Introduction So hi guys my name is Rohan Chatterjee passionate about learning tech stuff a lot especially Open Source and this is my very first blog hope reading this will be worth your time. My open source journey brings me to KWoC which i…
Task 5 of #90daysofdevops Write a bash script createDirectories.sh that when the script is executed with three given arguments (one is the directory name and second is the start number of directories…
You may hear the term shell scripting many times. But do you know what is a shell and what is shell scripting? In this article, we will learn the basics of shell scripting. Let's start by understandin…
What is a Bash script? A Bash script is a plain text file which contains a series of commands. These commands are a mixture of commands we would normally type ourselves on the command line . These scr…
But of course, this can be automated, so here is an example of a simple bash script that does just that. It can be used to build and update your Docker build. Steps: Set variables for the application URL and the process_id. Wait until the…