Firefox Panel Icon Loads Swiftfox

Leonard Chatagnier lenc5570 at sbcglobal.net
Sun Aug 12 18:12:46 UTC 2007


> On Sun, 2007-08-12 at 06:03 -0700, Leonard
> Chatagnier wrote:
> > >  What do you get from:
> > > ls -l $(which firefox)
> > ls -l $(firefox) loaded another 2 instances of
> firefox
> 
> Not "ls -l $(firefox)" - "ls -l $(which firefox)".
> Big difference.
> 
> > Didn't know the the ls command could load a
> program.???
> 
> It can't. The shell looks at "$(which firefox)" and
> runs the stuff
> between the parentheses, then provides the output as
> a parameter to "ls
> -l". You can get the same effect with backticks: "ls
> -l `which
> firefox`".
> 
> Regards, K
> 
Hello again Karl,
Well here I go again thinking since I have 2
firefoxses Matt didn't mean literally "which firefox".
Still wonder why ls opens the browser?  Yes, I did
have 6 working firefox browsers after running the
commands as I did it.  Anyway, the output of 
ls -l $(which firefox) is:

lchata at ubuntu:/boot$ ls -l $(which firefox)
lrwxrwxrwx 1 root root 22 2007-08-11 07:00
/usr/bin/firefox -> ../lib/firefox/firefox
lchata at ubuntu:/boot$ 
Hope this info helps,  

Leonard Chatagnier
lenc5570 at sbcglobal.net




More information about the ubuntu-users mailing list