Bash: "after" or "waitfor" command
Hi,
Is there a command that waits until a process is finished and then excecutes another one? I know I can do things like Code:
command1 && command2 Code:
command1 Thank you very much in advance!! |
You can always type command2 in the shell even before
command1 ends but you will have to type return to validate it so you could'nt be able to edit it |
$ command 1 &
$ wait; command2 |
Thank you!
|
All times are GMT -5. The time now is 01:57 AM. |