Renaming a file in Ubuntu I will use “mv”. When it comes to renaming multiple files and say append prefix to all the files, “mv” isn’t the right program for the job. I could write a bash script to loop each and every file, rename the files one by one…

I had a big file to send over an unreliable/choppy internet connection with no resume function. The only solution I could think of is to split it into multiple files so that if disconnected I do not need to restart from the beginning.


Assume the large file is 2G and…

The old school way would be to buy an external USB device that provides 2 3.5mm jack, line in and line out. Buy a 3.5mm male-to-male cable and plug into both ports. There is an easier alternative and it is free.

MacBook does not provide 3.5mm line in port

These are the few SVN commands I use regularly.

Check out

svn checkout http://<url_or_ip>/svn/project

To check out using a different username

svn checkout http://<url_or_ip>/svn/project --username <different_username>

Once you successfully checkout, your credentials will be saved at


To clear the saved credentials, run

rm -rf ~/.subversion/

To update local codes…

Github ditching password authentication forced me to setup my own source codes versioning repository. Launch a new Ubuntu 20.04 EC2 and run the below command

sudo apt update
sudo apt upgrade

Install Apache. Service should be started post installation

sudo apt install apache2 apache2-utils

Install Subversion SVN. Module “dav” and…

Kevin FOO

A software engineer, a rock climbing, inline skating enthusiast, a husband, a father.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store