running functions on the same time (bash programming)
I want to know how can i run bash functions on the same time. For example i have two like
# bash programming func1() { } func2() { } # here i want to execute them together. func1 & #??? func2 & #??? thanks. |
Well, be precise. If func1 and func2 spend both a long time, and you type
func1& func2& (exactly as you did) they will run simultaneously. You can try it by placing inside file on by typing it on console. |
All times are GMT -5. The time now is 06:14 PM. |