View Single Post
  #2   (View Single Post)  
Old 18th July 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

You can learn to use a text editor, such as vi(1), sed(1), ed(1), mg(1), or any of the innumerable X11 text editors.

Meanwhile, to append a line to an existing file, you can echo(1) some text and append it to the file with ">>", e.g.:

$ echo "export PKG_PATH=........" >> .profile
Reply With Quote