Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-20-2004, 12:17 PM   #1
LQ Newbie
Registered: May 2004
Posts: 25

Rep: Reputation: 15
waiting script

How can I write a linux script that will execute a command after say 5 seconds...

Example: After 5 seconds the command init6 is executed?

Old 09-20-2004, 12:21 PM   #2
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30

try the command: time
Old 09-20-2004, 12:50 PM   #3
LQ Newbie
Registered: May 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Say I've got a scrript and, I want "" to be terminated after 10 seconds and script "" must carry on, is this possible?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 05:06 AM
waiting for 10.2 YourMind Slackware 4 08-07-2005 06:57 PM
bash script suggestions for waiting for ssh -L iggymac Programming 4 03-22-2005 07:04 PM
Selectively 'waiting' in a shell script subu_s Programming 2 12-20-2004 05:57 AM
waiting for packages? rafc Debian 2 05-11-2004 08:26 AM

All times are GMT -5. The time now is 06:27 AM.

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