Re: BASH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 04, 2004 at 10:36:34AM -0600, Bill Gradwohl wrote:
> Alexander Dalloz wrote:
> 
> >Your intention sounds a bit "obscure".
> >
> >  
> >
> Maybe I should elaborate.
> 
> I'm currently working on a small script that typically runs for about 8 
> minutes. Part of what it does is set up a RAID array on a 3WARE 
> controller and then partition that space using fdisk and then format 
> that partition for an ext3 file system. All this takes time on a 2TB array.
> 
> While the script is executing, if I see something I want to fix or add 
> to the script, can I emacs the script file and modify it while it is 
> still being executed?

No.   Before thescript execute the entire file is read "into" the bash
execution environemnt (usually in a spawned sub-shell) and that "image"
of the script will not be affected by any changes you make to the file.

-- 
Linux/Open Source:  Your infrastructure belongs to you, free, forever.
Idealism:  "Realism applied over a longer time period"
http://www.scaled.com/projects/tierone/
<a href=http://kinz.org>Kinz</a>
http://www.fedoratracker.org http://www.fedorafaq.org
http://www.fedoranews.org
Jeff Kinz, Emergent Research, Hudson, MA.
~
~
~
~


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux