Posts by osmpc33 • 31 points
1 post
-
3
votes2
answers396
viewsQ: How to create a shell script that puts an echo at the beginning of each line in a file
I need to create a script that inserts the echo command at the beginning of each line of the file and at the end >> blocodenotes, for example #!/bin/bash ls -l uname -a netstat -tunap I want a…