How To Rename a Git Branch
How to Rename a Git Branch When working with git it is sometimes necessary to rename a git branch. There could be any number of reasons why the branch name…
How to Rename a Git Branch When working with git it is sometimes necessary to rename a git branch. There could be any number of reasons why the branch name…
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…
To get the length of a string in python you can use the len() function. len() is a built-in function in python and you can use it to get the…
When making changes to scripts or text files from the Linux command line I tend to use Vi / Vim as my go to editor as it tends to be…
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…
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More