1

How to send many commands to shell and wait for the command behind ends

view story
linux-howto

http://unix.stackexchange.com – Hello I have around 20 commands and I have to send all of this to Unix shell, and copy the result, but I don't know how to do it. Command 1 - Connect with a server. Wait until command 1 finish Command 2- Update all the information from server 1 finish Wait. Command 3. Get some parameter. ... and more such commands. I tryed with cmd1 | cmd2 | cmd3 and cmd1 & cmd2 & cmd3 but just work for the first cmd. Any clue, how to run this? (HowTos)