Run applications under pseudo-terminal (PTY) sessions
empty - run applications under pseudo-terminal (PTY) sessions to dialogue with interactive programs. Replace TCL/Expect with a simple tool and use your favorite shell (sh, bash, csh, tcsh, ksh, zsh, etc)
cmdok checks that specified commands are OK. If command is OK than it exists in PATH and can be run.
It is a simple, small and portable Bash script. It is useful in software packages that want to check that some commands exist before trying to run them.
See wiki for more information and examples.