6

[ubuntu] is there an echo in here?

view full story
linux-howto

http://ubuntuforums.org – Some times I want to append a file with multiple lines via echo. Im reading the man page for echo and see the \n option, but I cant get the syntax to give me what I want. Code: echo "#" Some User Defined Aliases \n GREP_OPTIONS='grep --color=always' > ~/ngo that gives me one line at the end of a file where I want 2 lines. (Hardware)