# Stdout and stderr from bash script to Dashboard?

**URL:** <https://discourse.nodered.org/t/stdout-and-stderr-from-bash-script-to-dashboard/47323>\
**Category:** Dashboard\
**Created:** [18 June 2021 09:03 UTC](https://discourse.nodered.org/t/stdout-and-stderr-from-bash-script-to-dashboard/47323 "2021-06-18T09:03:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mannshoch](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mannshoch/32/19477_2.png) [@Mannshoch](https://discourse.nodered.org/u/Mannshoch)\
**Post date:** [18 June 2021 09:03 UTC](https://discourse.nodered.org/t/stdout-and-stderr-from-bash-script-to-dashboard/47323/1 "2021-06-18T09:03:44Z")

</div>

Is there a way to e.g. see the last 5 outputs from a bash-script started with an exec node?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [18 June 2021 12:15 UTC](https://discourse.nodered.org/t/stdout-and-stderr-from-bash-script-to-dashboard/47323/2 "2021-06-18T12:15:48Z")

</div>

Several.

You can feed the output back (from an exec node) into the msg flow and on to a dashboard component.

Or you can set up a web endpoint using http-in/-out and output from your bash script using curl. I do that with a few scripts that I run from CRON rather than from Node-RED.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 July 2021 12:16 UTC](https://discourse.nodered.org/t/stdout-and-stderr-from-bash-script-to-dashboard/47323/3 "2021-07-18T12:16:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
