I have below scenario and would like to know how to achieve
Run the shell script which has 2 commands, which should run sequentially. But the problem is when I run the first command, the prompt goes into the command that I executed and the second command never executes.
#!/bin/bash ade useview testview ade refreshview -latest
[ ~/cron_scripts]$ ./test.sh ade:[ testview ] $
So when the command 1 enters a view then shell script loose control and never executes second command