Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to skip the exit code after executing a command in shell script?

I have a shell script that includes several commands.
For some of them, after it has been executed, I have to press P to quit the hint then the next command could proceed.
Picture1
Picture2

I want to know how to exit the hint automatically after the command gets executed, or input the keyword P automatically to exit it.

Thanks.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

you can basically pipe it to cat just like following:

$ ./deploy_eb_dev.sh | cat
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading