The most important script for an Android developer

cd /usr/local/bin
vim restart_adb

#!/bin/bash
adb kill-server
adb start-server

:wq
chmod +x restart_adb