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.
Thanks for sharing. Let's say I want to store output return by script in a database table. How can I do that?