[geeks] OpenSolaris ready for Production?

Michael-John Turner mj at mjturner.net
Tue Mar 3 17:49:28 CST 2009


On Tue, Mar 03, 2009 at 06:26:17PM -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.

I think you're thinking of 'test -c' (or '[ -c]'), which does check if the
specified file is a character special file. 'bash -c' simply executes the
specified commands AFAIK.

-mj
-- 
Michael-John Turner 
mj at mjturner.net      <>  http://mjturner.net/



More information about the geeks mailing list