Skip to main content
ArtiW
Gold ⭐️
Gold ⭐️
Jul 1, 2017 6:41 AM UTC

Use ExcecuteProcess Processor to execute shell script

  • Oct 5, 2026 9:20 AM UTC
  • 1 reply
  • 26918 views
  • Translate All

You can execute any shell script using ExecuteProcess Processor in Nifi. For example I have a very simple shell script below which writes "Hello world" to a file.

16662-executeprocess-script.png

16661-executeprocess.png

16663-script-output.png

1 reply

mayank_rathi
Gold ⭐️
Jul 4, 2017 5:40 AM UTC

Thanks for sharing. Let's say I want to store output return by script in a database table. How can I do that?

Translate