[geeks] OpenSolaris ready for Production?

Sridhar Ayengar ploopster at gmail.com
Tue Mar 3 19:02:01 CST 2009


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.

You are correct.

Peace...  Sridhar



More information about the geeks mailing list