[gedit-list] send selected text to terminal



Hi,

  I am new to linux and have a very basic question. 
How do a send a selected text to the terminal such that it is executed. 
For example typing, "sudo apt-get update" in gedit text editor and select and use some shortcut to
send this to terminal. 
I am trying to understand the external tool thing and managed to send some selected text using
xargs to the below output region. How do i send something to terminal? 

any help would be great.
thanks.


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]