Home > Software engineering >  How to skip the exit code after executing a command in shell script?
How to skip the exit code after executing a command in shell script?

Time:12-08

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.

CodePudding user response:

you can basically pipe it to cat just like following:

$ ./deploy_eb_dev.sh | cat
  • Related