[geeks] OpenSolaris ready for Production?

Sridhar Ayengar ploopster at gmail.com
Tue Mar 3 19:03:30 CST 2009


Phil Stracchino wrote:
> Mike Meredith wrote:
>> On Tue, 03 Mar 2009 18:26:17 -0500, Phil Stracchino wrote:
>>> I'm not familiar with that usage and can't quite make sense of what it
>>> would do.  As far as I can see, '/bin/bash -c true' returns true if
>>> 'true' exists in the current directory and is a character special
>>> file, which doesn't seem a useful test under the circumstances.
>> Really?
>>
>> I always thought it would run the 'true' command (which returns true)
>> and if the command is successful would run the following command.
>>
>> I've been using it (specifically "/bin/zsh -c true && exec /bin/zsh")
>> to "replace" my shell for years.
> 
> Ah, now with zsh, that would work.  But the -c option to bash doesn't do
> that.

Yes, it does.  http://linux.die.net/man/1/bash

Peace...  Sridhar



More information about the geeks mailing list