Handy command-line scripts