#!/bin/bash # Prints out the time PREFIX=' ' time() { echo "$PREFIX$(date '+%H:%M')" } time