Re: Using terminal output as input
On Thu, May 14, 2009 at 05:55:35PM +0300, Dotan Cohen wrote:
> I am using a Debian-based distro (Ubuntu). Often I need to use the
> output of one terminal command as the input for another. A classic
> example is the which command:
> $ which firefox
Use a terminal that supports it.
screen is one such terminal. Emacs is another.
Alternatively, running the command under script(1) sends all the text
(though with annoying special characters) to a file as well.
Tzafrir Cohen | firstname.lastname@example.org | VIM is
http://tzafrir.org.il | | a Mutt's
email@example.com | | best
ICQ# 16849754 | | friend