Monday, December 28, 2009

Insert a "new line" character in a text file using Bash

"echo -e "192.168.100.100\n192.168" >> hobba"

 The '-e' option does the magic, as it allows escape characters to be printed

Source

No comments: