LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   wait for x seconds type command (https://www.linuxquestions.org/questions/slackware-14/wait-for-x-seconds-type-command-72599/)

sub-genius 07-14-2003 09:57 AM

wait for x seconds type command
 
is there a "wait for xx seconds" type command within *nix that I can use to delay the execution of one command after another. IOW...

echo Starting server...
/usr/local/bin/server

"WAIT FOR 10 SECONDS"

echo Starting Client
/usr/local/bin/Client

I am having execution issues because a server cannot initialize fast enough for the client to connect properly

TIA,
Sub

lyle_s 07-14-2003 07:11 PM

There's sleep(1). See "man sleep".
Lyle


All times are GMT -5. The time now is 01:35 PM.