How do you add a line in the beginning of a file in Linux?

How do you add a line in the beginning of a file in Linux?
Answer
If you want to add a line at the beginning of a file, you need
to add n at the end of the string in the best solution above. The best solution will add the string, but with the string, it will not add a line at the end of a file.
 

Tìm kiếm

Back
Top