Check man bash.

You can do sleep xxx halt or use the ;, && and other operators.

On Wed, 18 Jun 2003 20:05:33 +0200
 CrPy <[EMAIL PROTECTED]> wrote:
Hi ng,

I'm using linux for many years, but there is a concern I have never solved.

Assuming, I have a command running in my nice bash shell and I do not know, how long it will run. Now, I like to append an additional command , which starts running after the first command has finished. How can I do this? Or is it possible to do this at all? - After all it is Open Source ;-)

Here us an simplified example of what I want to do:
# sleep 1000000h

How long will it run? OK, I know it. But now, I like to halt my maschine after the command has finished. And actually what I really want to have is this:
# sleep 1000000h; halt


Can I somehow extend the command line, after sleep is already running?

THX

/CrPy


-- [EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



Reply via email to