Re: between google and firefox it's nearly impossible to get anything done!

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

 



Tim here.  I suspect that it was missing the backticks.  Typing

  firefox "cat /home/jude/surf"

would send firefox to www.cat.com

whereas either the

  firefox "`cat /home/jude/surf`"

that you suggested or

  firefox "$(cat /home/jude/surf)"

(I prefer the "$(…)" notation because it nests more easily) should
expand the contents of the file into the string.

-tim



On April 15, 2019, Linux for blind general discussion wrote:
> On Mon, 15 Apr 2019, Linux for blind general discussion wrote:
> 
> > Thanks for the ideas, neither work.  Both get problem loading
> > url.  The first one tried to load www.cat.com too.  
> 
> That shouldn't happen. Are you typing it correctly?
> 
> Putting the cat command in accents tells the shell to add the
> output of the command to the command line.  so:
> 
> firefox "`cat /home/jude/surf`"
> 
> realy should work.   Certainly, the word "cat" should never reach
> the command line.
> 
> Cheers,
> Geoff.
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/blinux-list

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]