LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2003, 09:57 AM   #1
sub-genius
LQ Newbie
 
Registered: Jun 2003
Distribution: slacking off
Posts: 4

Rep: Reputation: 0
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
 
Old 07-14-2003, 07:11 PM   #2
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
There's sleep(1). See "man sleep".
Lyle
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
convert total no of seconds in the format hour minutes and seconds suchi_s Programming 15 03-15-2011 11:34 AM
Command to repeat another command every x seconds jimieee Linux - General 6 06-15-2005 07:52 AM
Linux "Wait" command? renegadeavenger Fedora 10 05-28-2005 05:22 PM
what type does shutdown use to store seconds? dvm Linux - Software 3 12-15-2004 09:44 AM
what command do I type Mr. Mojo Risin Linux - Hardware 4 07-26-2004 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration