# Use cat to add line numbers to a file! # cat -n < $FILE # Only number non-blank lines # cat -b < $FILE