On 04/15/2010 08:28 AM, Clark J. Wang wrote:
> In C code I can use lockf(), flock(), semaphore and mutex for locking /
> unlocking. Can bash provide some similar mechanisms?

man 1 flock

If necessary, you may need to install:
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to