This short tutorial shows how to use if else statements in Bash. An if else statement in programming is a conditional statement that runs a set of statements depending on…
This short tutorial shows how to list and change the current working directory using Python. Python can be used to perform many actions on a file system, for example you…
This short tutoral shows how to show line numbers in your grep output. If you’re here you will already know grep is a command-line utility for searching plain-text data sets…
You can use PowerCLI to get the uptime of all your ESXi hosts quickly and easily. This is done by retrieving the boot time data hidden away in the information…
When searching a file using grep it’s often useful to be able to ignore the case of the text you are searching for. By default grep is case sensitive. Typically…
You can use the split() function in Terraform to allow you to split up a string in your terraform plans. The terraform split function has two inputs, the separator character,…
With Python there are lots of ways you can manipulate strings. One of the most common I find myself using is to convert a string to lowercase, often before passing…
I ran into a Terraform Error Locking State error recently after experiencing a temporary loss of network connectivity whilst in the middle of running a terraform plan to deploy some…