shellcheckredirections

  • Version 3.5 and earlier: shellcheckredirections variable not available.
  • Version 4.0 and later: shellcheckredirections variable available.

Boolean

When set to true, this variable directs the shell to authorize I/O redirections (for example, <, >, >>). When this variable is set to false, I/O redirection is always allowed. pbsh and pbksh use this variable at startup time.

shellcheckredirections = boolean;
true Privilege Management for Unix and Linux shells authorize and log shell I/O redirection requests.
false Always allows I/O redirection.
shellcheckredirections = true;