Lock is a file locking mechanism designed as a shell script that can be used on any type of file.
The developer of Lock claims that race conditions have been eliminated, and invites users to prove otherwise. The tool boasts of being a simple mechanism that requires a PID and a file to lock on. If a process holding a PID exits, any locks it had been holding will be abandoned.
Lock also provides a way to unlock files with the command 'unlock file'. Overall, if you want a straightforward and reliable way of securing files, Lock is a great tool to have at your disposal.
Version 2.2: N/A