Earlier, I patched various pages to consistently use EXAMPLE as a
section heading, rather than EXAMPLES. (At that time, both headings
occurred in util-linux, with roughly equal frequency.)
Since then, I've observed that EXAMPLES is the more common usage
across a large corpus of manual pages. So, in Linux the man-pages
project, I switched to using EXAMPLES also. This patch makes the same
change for util-linux.
Signed-off-by: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>
16 files changed:
The
.B logger
command is expected to be IEEE Std 1003.2 ("POSIX.2") compatible.
The
.B logger
command is expected to be IEEE Std 1003.2 ("POSIX.2") compatible.
.B logger System rebooted
.br
.B logger \-p local0.notice \-t HOSTIDM \-f /dev/idmc
.B logger System rebooted
.br
.B logger \-p local0.notice \-t HOSTIDM \-f /dev/idmc
The
.B look
utility appeared in Version 7 AT&T Unix.
The
.B look
utility appeared in Version 7 AT&T Unix.
.RS
.nf
sort \-d /etc/passwd \-o /tmp/look.dict
.RS
.nf
sort \-d /etc/passwd \-o /tmp/look.dict
unanticipated error occurred
.PD
.RE
unanticipated error occurred
.PD
.RE
Given the files
.IR foo1 ", ..., " foo9 ", " foo10 ", ..., " foo278 ,
the commands
Given the files
.IR foo1 ", ..., " foo9 ", " foo10 ", ..., " foo278 ,
the commands
Interpret name \fIname\fR as a hexadecimal string.
.SH CONFORMING TO
OSF DCE 1.1
Interpret name \fIname\fR as a hexadecimal string.
.SH CONFORMING TO
OSF DCE 1.1
uuidgen \-\-sha1 \-\-namespace @dns \-\-name "www.example.com"
.SH AUTHORS
.B uuidgen
uuidgen \-\-sha1 \-\-namespace @dns \-\-name "www.example.com"
.SH AUTHORS
.B uuidgen
.SH ENVIRONMENT
.IP WHEREIS_DEBUG=all
enables debug output.
.SH ENVIRONMENT
.IP WHEREIS_DEBUG=all
enables debug output.
To find all files in
.I /usr/\:bin
which are not documented
To find all files in
.I /usr/\:bin
which are not documented
.SH NOTES
Linux supports I/O scheduling priorities and classes since 2.6.13 with the CFQ
I/O scheduler.
.SH NOTES
Linux supports I/O scheduling priorities and classes since 2.6.13 with the CFQ
I/O scheduler.
.LP
.TP 7
# \fBionice\fP \-c 3 \-p 89
.LP
.TP 7
# \fBionice\fP \-c 3 \-p 89
.PP
When using the \fIcommand\fR variant, and executing the child worked, then
the exit status is that of the child command.
.PP
When using the \fIcommand\fR variant, and executing the child worked, then
the exit status is that of the child command.
Note that "shell> " in examples is a command line prompt.
.TP
shell1> flock /tmp \-c cat
Note that "shell> " in examples is a command line prompt.
.TP
shell1> flock /tmp \-c cat
The prlimit system call is supported since Linux 2.6.36, older kernels will
break this program.
The prlimit system call is supported since Linux 2.6.36, older kernels will
break this program.
.IP "\fBprlimit \-\-pid 13134\fP"
Display limit values for all current resources.
.IP "\fBprlimit \-\-pid 13134 \-\-rss \-\-nofile=1024:4095\fP"
.IP "\fBprlimit \-\-pid 13134\fP"
Display limit values for all current resources.
.IP "\fBprlimit \-\-pid 13134 \-\-rss \-\-nofile=1024:4095\fP"
The
.B renice
command appeared in 4.0BSD.
The
.B renice
command appeared in 4.0BSD.
The following command would change the priority of the processes with
PIDs 987 and 32, plus all processes owned by the users daemon and root:
.TP
The following command would change the priority of the processes with
PIDs 987 and 32, plus all processes owned by the users daemon and root:
.TP
For example, setting no_new_privs and then execing a program that is
SELinux\-confined (as this tool would do) may prevent the SELinux
restrictions from taking effect.
For example, setting no_new_privs and then execing a program that is
SELinux\-confined (as this tool would do) may prevent the SELinux
restrictions from taking effect.
If you're looking for behaviour similar to
.BR su (1)/ runuser "(1), or " sudo (8)
(without the
If you're looking for behaviour similar to
.BR su (1)/ runuser "(1), or " sudo (8)
(without the
it can be unpersisted by using
.BR umount (8)
to remove the bind mount.
it can be unpersisted by using
.BR umount (8)
to remove the bind mount.
-See the \fBEXAMPLE\fR section for more details.
+See the \fBEXAMPLES\fR section for more details.
.PP
.B unshare
since util-linux version 2.36 uses /\fIproc/[pid]/ns/pid_for_children\fP and \fI/proc/[pid]/ns/time_for_children\fP
.PP
.B unshare
since util-linux version 2.36 uses /\fIproc/[pid]/ns/pid_for_children\fP and \fI/proc/[pid]/ns/time_for_children\fP
restricted so that a less privileged user can not get more access to sensitive
files that a more privileged user made unavailable. In short the rule for proc
and sysfs is as close to a bind mount as possible.
restricted so that a less privileged user can not get more access to sensitive
files that a more privileged user made unavailable. In short the rule for proc
and sysfs is as close to a bind mount as possible.
.PP
The following command creates a PID namespace, using
.B \-\-fork
.PP
The following command creates a PID namespace, using
.B \-\-fork
.TP
.BR \-h , " \-\-help"
Display help text and exit.
.TP
.BR \-h , " \-\-help"
Display help text and exit.
.nf
% script --log-timing file.tm --log-in script.in
Script started, file is script.out
.nf
% script --log-timing file.tm --log-in script.in
Script started, file is script.out
.TP
.BR \-h , " \-\-help"
Display help text and exit.
.TP
.BR \-h , " \-\-help"
Display help text and exit.
.nf
% script --log-timing file.tm --log-out script.out
Script started, file is script.out
.nf
% script --log-timing file.tm --log-out script.out
Script started, file is script.out
.PP
Some provision should be made for processing superscripts and subscripts in
documents which are already double-spaced.
.PP
Some provision should be made for processing superscripts and subscripts in
documents which are already double-spaced.
A typical use of
.B colcrt
would be:
A typical use of
.B colcrt
would be:
.B column
may continue to use the older documentation, but the behavior should be
identical in any case.
.B column
may continue to use the older documentation, but the behavior should be
identical in any case.
Print fstab with header line and align number to the right:
.EX
\fBsed 's/#.*//' /etc/fstab | column \-\-table \-\-table-columns SOURCE,TARGET,TYPE,OPTIONS,PASS,FREQ \-\-table-right PASS,FREQ\fR
Print fstab with header line and align number to the right:
.EX
\fBsed 's/#.*//' /etc/fstab | column \-\-table \-\-table-columns SOURCE,TARGET,TYPE,OPTIONS,PASS,FREQ \-\-table-right PASS,FREQ\fR
The
.B hexdump
utility is expected to be IEEE Std 1003.2 ("POSIX.2") compatible.
The
.B hexdump
utility is expected to be IEEE Std 1003.2 ("POSIX.2") compatible.
Display the input in perusal format:
.nf
"%06.6_ao " 12/1 "%3_u "
Display the input in perusal format:
.nf
"%06.6_ao " 12/1 "%3_u "