Firefox Panel Icon Loads Swiftfox

Leonard Chatagnier lenc5570 at sbcglobal.net
Mon Aug 13 13:40:41 UTC 2007


> Leonard Chatagnier <lenc5570 at sbcglobal.net> writes:
> 
> >> > ls -l $(firefox) loaded another 2 instances of
> >> firefox
> >> 
> >> > Didn't know the the ls command could load a
> >> program.???
> 
> It didn't. ls is not involved here.  $(firefox) as
> an argument means
> to the shell: Start firefox and pass (after its
> exit) whatever text it
> returned on stdout as argument to the ls command.
> 
> This is known as 'command substitution'.
> 
Thanks, Heike, for the info. I learn something new
every day. But don't know enough Bash, script, etc.,
for it to do me much good. Nice to have all you
knowledgeable guys out there to keep us no nothings
informed. Appreaciate the explanation.

Leonard Chatagnier
lenc5570 at sbcglobal.net




More information about the ubuntu-users mailing list