shell module

The module that runs a command through the host's shell, so pipes, redirection and variables work, unlike the command module.

In more detail

That extra power also makes it riskier: anything built from variables can be interpreted by the shell in unexpected ways. Like the command module it cannot tell whether it changed anything. Use it only when no dedicated module fits and the command module is not enough.

Related terms

Taught in

References

Certification courses