shell time command code example Example: bash time command time [command] #measures time required by following command. For example: time ls