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

Linux for blind general discussion blinux-list at redhat.com
Mon Apr 15 11:58:33 UTC 2019


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 at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list




More information about the Blinux-list mailing list