Regarding user shell script

osmc is installed directly on raspberry pi 3+ using the ISO of OSMC.
raspiban os is not installed on raspberry pi.so,there is no access to terminal.
Now i want to run my shell script on raspberry pi which gives some output that i want to use as an input for osmc. Is it possible ?
and if it is possible then where to store that shell script and how to run that shell script.
please help me with that.

A post was merged into an existing topic: Regarding External shell script