mussh-run-commands-on-multiple-hosts
2022/03/06
mussh allows you to run command/commands on multiple hosts at the same time. If you have farm of server setup with passwordless ssh or with same password (which is generally the case), then using …
virt-install with cloud-init
2022/02/09
If you have not heard about cloud-init then you should definately search for it and learn about cloud-config as well. You can find the documentation for cloud-config here. It is used for configuring …
Stay safe from phising
2022/02/05
Generally when you get a phising mail, the biggest challenge is finding if the site is genuine or not. And URL shortening services do not make it any easy. Earlier I had posted about using curl to …
Curl to exapnd short url
2022/01/09
Many times I receive short urls in mail and other places like chats and messages. I first like to see the destination before I click on the url. I was looking for some way to do this in bash. I …
Sleep infinitely in bash
2021/12/19
I am sure that you would have got a lot of instances where you have wanted to sleep for infinity and ended up doing this […] 1 2 3 4 while [[ 1 ]] do sleep 3600 done or some other such similar …
Ignore case when completing file names in bash
2021/12/11
Sometimes you don’t want to have the bash completion work with case completion. There could be several reasons like one I dont like is the default xdg folders starting with capital letters. So, …
CPENT/LPT Master Preparation Tips
2021/11/13
Cron script to send alert on low battery
2020/09/13
Warn when battery is low
2020/08/30
I am very lazy to look at battery status and want to be warned when the battery is low. This means that even if I am away from the laptop, I can be warned that laptop is about to poweroff due to …
Some good find alias.
2020/08/23
Here are some interesting alias’s that you may want to add to your bashrc file or where-ever else you add your aliase’s. Very useful if you use find commonly. There are four aliases …