How to add a prefix string at the beginning of each line in Bash shell script on Linux?

How to add a prefix string at the beginning of each line in Bash shell script on Linux?: How to add a prefix string at the beginning of each line in Bash shell script on Linux?.
View more Q&As from SysTutorials QA.