On 2009-12-14, Roger Pack <rogerpack2005 / gmail.com> wrote: > Anybody know if something like this exists. > > two terminals open > > 1) hack hack hack [start long running process] > 2) hack hack [type in the name of a command which should be run > immediately after long running process in terminal one finishes--and > somehow it will start immediately afterward]. > > [windows compatible would be nice]. > > Anything like that out there? In the first terminal window: touch /tmp/waitforme In the second while ! test -e /tmp/waitforme do sleep 1 done <command> This might be more topical in comp.unix.shell. :) -s -- Copyright 2009, all wrongs reversed. Peter Seebach / usenet-nospam / seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!