General
cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between timeout and sleep

Karthik_sg
Frequent Advisor

Difference between timeout and sleep

Hi can any tell me the difference between timeout and sleep.Thanks in advance.
2 REPLIES
Ivan Ferreira
Honored Contributor

Re: Difference between timeout and sleep

Talking about what? You say timeout when expires the time for an given event. You say sleep when you want to intentionally wait some time.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Karthik_sg
Frequent Advisor

Re: Difference between timeout and sleep

Allright.say for example
scp kl@19.0.0.1:/tmp/logs .
so i should specify timeout before or after the scp command.