How do I add a new line in Linux?

Ngoc Hue

New member
How do I add a new line in Linux?
Answer
Sometimes we need to work with a file for programming purposes, and the new line requires to add at the end of the file. This appending task can be done by using
‘echo’ and ‘tee’ commands
. Using ‘>>’ with ‘echo’ command appends a line to a file.
 

Tìm kiếm

Back
Top