On the Unix command line, I want to search for a string "Sample_string" at the beginning of a line in a file, and add a ";" at the end of the line in the file.
This would need to be an in-place edit, affecting a few dozen files in a particular directory.