Davy Gigan wrote: > Try to execute a csh script without this command present in your path, > it won't work very well ;-) > Maybye it should be a symbolic link to /usr/bin/test ? > > #!/bin/csh > [ -d /bin ] && echo cool ; Actually, this is classic Bourne shell syntax--the [ hard link to test goes back to The Beginning, even before if/fi. Note also that the closing bracket is required syntax when the command is [, but is not required when the command is test.