Nguyễn Trần Mai Trang
New member
How do you add a line in the beginning of a file in Unix?
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. to do in-place editing. Neither grouping nor command substitution is needed.
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. to do in-place editing. Neither grouping nor command substitution is needed.