Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 27 Jun 2002 @ 15:15:44 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   Unix file locking
 
From:   Jeremy Christiansen

I'm writing some shell scripts that will be run on our Ap-node. Many of these scripts will be run simultaneously and also access a set of shared files. I would like to know if there is a way for me to lock a file so that when one script updates it all other scripts will be blocked from reading/writing to it. I am familiar with the "lockfile" technique but am wondering if there is just a simple command that will lock/unlock a file for me.



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023