Bash – Difference between wait and sleep

bashshellsleepwait

What is difference between wait and sleep?

Best Solution

wait waits for a process to finish; sleep sleeps for a certain amount of seconds.