Firefox Panel Icon Loads Swiftfox
Heike C. Zimmerer
nospam07q1 at gmx.net
Mon Aug 13 08:56:00 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'.
More information about the ubuntu-users
mailing list