append to file in linux How to append text to an existing file in Linux or Mac OS? 5 years ago If you want to add a new line to an existing file from the terminal, use the following format: echo…