How do you create a first line in Unix?

Lâm Phung

New member
How do you create a first line in Unix?
Answer
14 Answers.
Use sed ‘s insert ( i ) option
which will insert the text in the preceding line. Also note that some non-GNU sed implementations (for example the one on macOS) require an argument for the -i flag (use -i ” to get the same effect as with GNU sed ).
 

Tìm kiếm

Back
Top