I have a setup.sh shell script which needs to be run on Ubuntu to setup something.
I have made another shell script (say sample.sh) which installs pre-requisites before running 'setup.sh' and then finally it triggers 'setup.sh'
setup.sh script for example contains the below sample prompts which require user inputs
- Press Enter to use default:
How to provide Enter key press as input instead of manually entering.