~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to sys-utils/flock.1

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
.\"   OTHER DEALINGS IN THE SOFTWARE.
25
25
.\"
26
26
.\" -----------------------------------------------------------------------
27
 
.TH FLOCK "1" "4 Feb 2006" "flock utility" "H. Peter Anvin"
 
27
.TH FLOCK 1 "February 2006" "util-linux" "User Commands"
28
28
.SH NAME
29
 
flock \- Manage locks from shell scripts
 
29
flock \- manage locks from shell scripts
30
30
.SH SYNOPSIS
31
31
\fBflock\fP [\fB\-sxon\fP] [\fB\-w\fP \fItimeout\fP] \fIlockfile\fP [\fB\-c\fP] \fIcommand...\fP
32
32
.PP
51
51
.PP
52
52
\fC(
53
53
.br
54
 
  flock -n 9
 
54
  flock -n 9 || exit 1
55
55
.br
56
56
  # ... commands executed under lock ...
57
57
.br