Command-line useful scripts