Port php mysql scripts to php 7.0 from 5.x version

2018/04/23

Recently I got a script or series of scripts that were written for PHP 5.6x and hence used mysql_connect which as you know by now does not work with PHP 7.0. Since there were number of scripts, I …

Linked clone with qemu-img

2018/04/09

As you would have seen in Virtualbox or vmware, there is option to create a linked clone. I wanted to use the same feature as “Snapshot” feature anyway does not look/work so great with virt-manager. …

Monitor progress of coreutils commad like mv, cp etc

2018/04/02

Monitor progress of coreutils commad like mv, cp etc You can use command called “progress”. Other option is “pv” but that is little complicated so here is simpler option. […] Progress – A …

vagrant box to libvirtd (QEMU) VM

2018/03/26

Like ova images, you can use box images as well with Qemu. After all, both have the disk images, so here is the script to do that. Just put the script somewhere in your path and run with ova or box …

mv command with progress

2018/03/19

When moving large files/directories, I would like to see the progress. Idea for this is to use rsync with progress and remove source files. But that option does not remove the empty directories left …

Highest disk usage of directory in subdirectories

2018/03/12

I find myself doing this lot of times so thought will share this with you all. Basically, once I want to clear out the directory, I first want to find out the sub-directory using the maximum disk …

Send history of current host to some other host over ssh

2018/02/26

Sometimes I want to save the history of current host on another host. This is to ensure that I can use copy/paste on other host to run the commands. To this, I found a simple solution – history| ssh …

Quick screen sharing and meeting without any software

2018/02/19

Wanted to share this as this seems to be good option: https://meet.jit.si/

Add ova file as VM on Linux with libvirt (Qemu)

2018/02/12

Although the commands are very simple and just 2-3 steps but I keep forgetting them and hence wrote the following script: The script takes input as “ova” filename and then creates the qcow2 image and …

Battery life on laptops

2018/02/05

To improve your laptop battery life, just do the following:

Better windows VM experience on Qemu

2018/01/29

With Qemu resize and copy-paste option, Windows VM seems to be lacking all this. This can be fixed by installing the spice tools in Windows VM. To do this, head over to spice space and download the …

send mail using telnet from script

2017/12/25

If you have no other option but to use telnet with authentication to send mail 🙂


This website uses cookies to ensure you get the best experience on our website. Learn more Got it