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 | email@example.com | VIM is
http://tzafrir.org.il | | a Mutt's
firstname.lastname@example.org | | best
ICQ# 16849754 | | friend