[CS-FSLUG] Command line query

David M. david at davidcentral.net
Thu Jan 20 06:35:44 CST 2005


On Thursday 20 January 2005 06:59 am, Brian Derr wrote:
> On Tue, Jan 11, 2005 at 08:50:09PM -0600, Ed Hurst wrote:
> > I've conspired with my wife to present a recent photo of us. Pay close
> > attention, as these two are really quite dangerous. Expect to see this
> > image soon on an APB  :-D
> >
> >    http://ed.asisaid.com/VnE.jpg
>
> I want to view this picture.  Here is my dilemma:  I'm too lazy to copy
> the text and paste it to Firefox so I want to download it with wget and
> view it with xv.  What would the syntax be?  The following is what I've
> tried.
>
> 1.)  wget http://ed.asisaid.com/VnE.jpg | xv -
> 2.)  xv - < wget http://ed.asisaid.com/VnE.jpg
> 3.)  xv - < `wget http://ed.asisaid.com/VnE.jpg`
> 4.)  wget http://ed.asisaid.com/VnE.jpg > xv
>
> None of these seem to work and in fact a couple of them do weird things.
> Any ideas of a one-liner that can download and open the JPEG for
> viewing?  :-)

I don't think I have xv, but this should work just fine:
xv wget http://ed.asisaid.com/VnE.jpg




More information about the Christiansource mailing list