On Jan 3, 2007, at 3:07 PM, Robert Huff wrote: > if [ ! -d "foo"] > then mkdir foo > fi You want a space before the "]" and a semicolon after it. -- -Chuck