Re: Firefox Panel Icon Loads Swiftfox
- From: Karl Auer <kauer@xxxxxxxxxxxxxx>
- Date: Sun, 12 Aug 2007 23:15:01 +1000
On Sun, 2007-08-12 at 06:03 -0700, Leonard Chatagnier wrote:
What do you get from:ls -l $(firefox) loaded another 2 instances of firefox
ls -l $(which 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
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer@xxxxxxxxxxxxxx) +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- Re: Firefox Panel Icon Loads Swiftfox
- From: Leonard Chatagnier
- Re: Firefox Panel Icon Loads Swiftfox
- Prev by Date: Re: BAAAAAD problem with Feisty kernel
- Next by Date: Re: BAAAAAD problem with Feisty kernel
- Previous by thread: Re: Firefox Panel Icon Loads Swiftfox
- Next by thread: Re: Firefox Panel Icon Loads Swiftfox
- Index(es):