If you have the local “administrator” account for a Windows PC, you can run the batch script below to list the running tasks. This script will actually run for the local PC (localhost) or it can connect to another machine over the network as long as you know that machine’s local admin password. To use, you can just… Read More »
Frequently found myself needing a way to remotely boot into Windows from a Ubuntu dual-boot machine. Looking at grub.cfg, I found there was only one “windows” option, so the following command allowed me to remotely boot into that partition via command line: sudo grub-reboot “$(grep -i ‘windows’ /boot/grub/grub.cfg|cut -d”‘” -f2)” && sudo reboot You can create a shell… Read More »
The linux shell script below comes in quite handy when you need to delete all folders that start with a number in a path that contains other folders you don’t want to remove. The script contains some logic to only run as root and stop/start a service if needed. Also, I’ve included a sample crontab line to run… Read More »
Happy Labor Day Weekend! (For those in the US) Finally got some time to move my sites to a new host and revamp a few things. In the process this blog was born, not that we needed yet another tech blog, but check out the About page and come back soon to see what I’m talking about.