Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

_existdir

The _existdir built-in variable holds the results of the existdir command.

The _existdir variable is cleared when the command is executed; after execution, _existdir can contain either of four values:

  • yes
    The directory exists.
  • no
    Either the directory exists or the user does not have access rights.
  • error
    An operating system or file error occurred while checking the file's existence.
  • null character
    Initial state, directory existence has not been checked.


For example:

 

  • No labels