Some common useful bash scripts