useful bash scripts for my own use