Monthly Archives: July 2017

How to clear your bash history

For old commands, just edit .bash_history and delete whatever you want from inside. For commands in the current session, just run this command before you exit: unset HISTFILE The $HISTFILE environment variable is the one which holds your commands and … Continue reading

Posted in Linux, Uncategorized | Tagged , , , | Leave a comment

Create Amazing QR Codes with QRCode Monkey

And it’s FREE! I wouldn’t have written a blog entry for something except if it was such an amazing one: https://www.qrcode-monkey.com/

Posted in Uncategorized | Tagged , , | Leave a comment

Fix Slow SFTP/SCP File Upload Rate and Stalling caused by TCP SACK

In brief, sometimes a conflict occurs between some firewalls and the TCP SACK. In my case, the upload was severely affected and reached upload speeds of a few kilobytes over a LAN! The following command disables TCP SACK and fixes … Continue reading

Posted in Linux, Uncategorized | Tagged , , , , , , , , | Leave a comment

Reclaim storage space from qcow2 image after moving

After it is moved to another host, since it is a sparse file, the qcow2 takes the full space, e.g. if it was dynamically set to 100GB, it will take 100GB, even if only 50 GB were actually used. I … Continue reading

Posted in Linux, Uncategorized | Tagged , , , , , | Leave a comment

Securely delete files/folders in Ubuntu

In brief, you should NEVER trust your HDD before handing it over to someone else! The solution to this would be either wipe the whole HDD or at least wipe the files/folders that you need to keep out of reach. … Continue reading

Posted in Linux, Uncategorized | Tagged , , , , , , , | Leave a comment