On Wed, Jul 20, 2016 at 04:43:13PM -0700, Adam McKenna wrote: > -d file > True if file exists and is a directory. > > The operator also returns True if the file exists and is a symlink to a > directory
Yes. All of the file-testing operators follow a symlink, EXCEPT for the ones that specifically test whether the operand is a symlink (-h and -L).