Nl

Add line numbers to a file (5 digits, leading zeros, separated by a colon):

nl -i1 -s': ' -nrz -w5 cotus.txt