|
|
Archives of the TeradataForum
Message Posted: Thu, 27 Jun 2002 @ 15:15:44 GMT
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.
| |