public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  [OT shell scripting] how to wait a few seconds
@ 2005-10-03 22:49 Harry Putnam
  2005-10-03 23:00 ` Brett I. Holcomb
  2005-10-03 23:03 ` [gentoo-user] " Michael Crute
  0 siblings, 2 replies; 5+ messages in thread
From: Harry Putnam @ 2005-10-03 22:49 UTC (permalink / raw
  To: gentoo-user

This is pretty dopey especially since I've used this dozens of times
in the past.

I can not remember how to make a script wait for a few seconds during
execution.  Its something really simple like.


smcmd 3

Where smcmd is something like set, sit, bla etc.
and the number is number of seconds to wait.

Trying both set and sit here I get an error from sit and no pause from
set. (Using ksh)

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user]  [OT shell scripting] how to wait a few seconds
  2005-10-03 22:49 [gentoo-user] [OT shell scripting] how to wait a few seconds Harry Putnam
@ 2005-10-03 23:00 ` Brett I. Holcomb
  2005-10-04  0:23   ` [gentoo-user] " Harry Putnam
  2005-10-03 23:03 ` [gentoo-user] " Michael Crute
  1 sibling, 1 reply; 5+ messages in thread
From: Brett I. Holcomb @ 2005-10-03 23:00 UTC (permalink / raw
  To: gentoo-user

man sleep?

On Mon, 3 Oct 2005, Harry Putnam wrote:

> This is pretty dopey especially since I've used this dozens of times
> in the past.
>
> I can not remember how to make a script wait for a few seconds during
> execution.  Its something really simple like.
>
>
> smcmd 3
>
> Where smcmd is something like set, sit, bla etc.
> and the number is number of seconds to wait.
>
> Trying both set and sit here I get an error from sit and no pause from
> set. (Using ksh)
>
>

-- 

Brett I. Holcomb
brettholcomb@R777bellsouth.net
Registered Linux User #188143
Remove R777 to email
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] [OT shell scripting] how to wait a few seconds
  2005-10-03 22:49 [gentoo-user] [OT shell scripting] how to wait a few seconds Harry Putnam
  2005-10-03 23:00 ` Brett I. Holcomb
@ 2005-10-03 23:03 ` Michael Crute
  2005-10-04 18:52   ` Mariusz Pękala
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Crute @ 2005-10-03 23:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

On 10/3/05, Harry Putnam <reader@newsguy.com> wrote:
>
> This is pretty dopey especially since I've used this dozens of times
> in the past.
>
> I can not remember how to make a script wait for a few seconds during
> execution. Its something really simple like.
>
>
> smcmd 3
>
> Where smcmd is something like set, sit, bla etc.
> and the number is number of seconds to wait.
>
> Trying both set and sit here I get an error from sit and no pause from
> set. (Using ksh)
>
> --
> gentoo-user@gentoo.org mailing list
>
>
Pause, wait?
 -Mike

--
________________________________
Michael E. Crute
Software Developer
SoftGroup Development Corporation

Linux, because reboots are for installing hardware.
"In a world without walls and fences, who needs windows and gates?"

[-- Attachment #2: Type: text/html, Size: 1198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: [OT shell scripting] how to wait a few seconds
  2005-10-03 23:00 ` Brett I. Holcomb
@ 2005-10-04  0:23   ` Harry Putnam
  0 siblings, 0 replies; 5+ messages in thread
From: Harry Putnam @ 2005-10-04  0:23 UTC (permalink / raw
  To: gentoo-user

"Brett I. Holcomb" <brettholcomb@bellsouth.net> writes:

> man sleep?
>

Haa.. yup that was the critter... Thanks

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] [OT shell scripting] how to wait a few seconds
  2005-10-03 23:03 ` [gentoo-user] " Michael Crute
@ 2005-10-04 18:52   ` Mariusz Pękala
  0 siblings, 0 replies; 5+ messages in thread
From: Mariusz Pękala @ 2005-10-04 18:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 158 bytes --]

> Pause, wait?

for x in {1..1000000}; do :; done

just joking :-)

-- 
No virus found in this outgoing message.
Checked by "grep -i virus $MESSAGE"

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-04 18:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03 22:49 [gentoo-user] [OT shell scripting] how to wait a few seconds Harry Putnam
2005-10-03 23:00 ` Brett I. Holcomb
2005-10-04  0:23   ` [gentoo-user] " Harry Putnam
2005-10-03 23:03 ` [gentoo-user] " Michael Crute
2005-10-04 18:52   ` Mariusz Pękala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox