Use `The .Nm utility'
This commit is contained in:
parent
0c7c579ba6
commit
3898680cf7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95083
@ -45,8 +45,9 @@
|
|||||||
.Op Fl #
|
.Op Fl #
|
||||||
.Ar command argument ...
|
.Ar command argument ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
The
|
||||||
.Nm
|
.Nm
|
||||||
runs the named
|
utility runs the named
|
||||||
.Ar command
|
.Ar command
|
||||||
on each
|
on each
|
||||||
argument
|
argument
|
||||||
|
@ -48,8 +48,9 @@
|
|||||||
.Nm dirname
|
.Nm dirname
|
||||||
.Ar string
|
.Ar string
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Basename
|
The
|
||||||
deletes any prefix ending with the last slash
|
.Nm
|
||||||
|
utility deletes any prefix ending with the last slash
|
||||||
.Ql \&/
|
.Ql \&/
|
||||||
character present in
|
character present in
|
||||||
.Ar string
|
.Ar string
|
||||||
@ -64,8 +65,9 @@ is not stripped if it is identical to the remaining characters in
|
|||||||
The resulting filename is written to the standard output.
|
The resulting filename is written to the standard output.
|
||||||
A non-existent suffix is ignored.
|
A non-existent suffix is ignored.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Dirname
|
The
|
||||||
deletes the filename portion, beginning
|
.Nm dirname
|
||||||
|
utility deletes the filename portion, beginning
|
||||||
with the last slash
|
with the last slash
|
||||||
.Ql \&/
|
.Ql \&/
|
||||||
character to the end of
|
character to the end of
|
||||||
@ -89,6 +91,6 @@ The
|
|||||||
.Nm
|
.Nm
|
||||||
and
|
and
|
||||||
.Nm dirname
|
.Nm dirname
|
||||||
functions are expected to be
|
utilities are expected to be
|
||||||
.St -p1003.2
|
.St -p1003.2
|
||||||
compatible.
|
compatible.
|
||||||
|
@ -42,8 +42,9 @@
|
|||||||
.Nm
|
.Nm
|
||||||
.Op Cm n | y
|
.Op Cm n | y
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Biff
|
The
|
||||||
informs the system whether you want to be notified when mail arrives
|
.Nm
|
||||||
|
utility informs the system whether you want to be notified when mail arrives
|
||||||
during the current terminal session.
|
during the current terminal session.
|
||||||
.Pp
|
.Pp
|
||||||
The following options are available:
|
The following options are available:
|
||||||
@ -64,8 +65,9 @@ or
|
|||||||
.Pa \&.profile
|
.Pa \&.profile
|
||||||
to be executed at each login.
|
to be executed at each login.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Biff
|
The
|
||||||
operates asynchronously.
|
.Nm
|
||||||
|
utility operates asynchronously.
|
||||||
For synchronous notification use the
|
For synchronous notification use the
|
||||||
.Ev MAIL
|
.Ev MAIL
|
||||||
variable of
|
variable of
|
||||||
|
@ -45,8 +45,9 @@
|
|||||||
.Ar file
|
.Ar file
|
||||||
.Op Ar
|
.Op Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Cap_mkdb
|
The
|
||||||
builds a hashed database out of the
|
.Nm
|
||||||
|
utility builds a hashed database out of the
|
||||||
.Xr getcap 3
|
.Xr getcap 3
|
||||||
logical database constructed by the concatenation of the specified
|
logical database constructed by the concatenation of the specified
|
||||||
files.
|
files.
|
||||||
|
@ -11,8 +11,9 @@
|
|||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Chkey
|
The
|
||||||
prompts the user for their login password,
|
.Nm
|
||||||
|
utility prompts the user for their login password,
|
||||||
and uses it to encrypt a new encryption key
|
and uses it to encrypt a new encryption key
|
||||||
for the user to be stored in the
|
for the user to be stored in the
|
||||||
.Xr publickey 5
|
.Xr publickey 5
|
||||||
|
@ -254,8 +254,9 @@ for an explanation of the impact of setting the
|
|||||||
.Ev PW_SCAN_BIG_IDS
|
.Ev PW_SCAN_BIG_IDS
|
||||||
environment variable.
|
environment variable.
|
||||||
.Sh NIS INTERACTION
|
.Sh NIS INTERACTION
|
||||||
.Nm Chpass
|
The
|
||||||
can also be used in conjunction with NIS, however some restrictions
|
.Nm
|
||||||
|
utility can also be used in conjunction with NIS, however some restrictions
|
||||||
apply.
|
apply.
|
||||||
Currently,
|
Currently,
|
||||||
.Nm
|
.Nm
|
||||||
@ -311,8 +312,9 @@ change any field.
|
|||||||
.Pp
|
.Pp
|
||||||
.It
|
.It
|
||||||
.Em "Password authentication is required" .
|
.Em "Password authentication is required" .
|
||||||
.Nm Chpass
|
The
|
||||||
will prompt for the user's NIS password before effecting
|
.Nm
|
||||||
|
utility will prompt for the user's NIS password before effecting
|
||||||
any changes.
|
any changes.
|
||||||
If the password is invalid, all changes will be
|
If the password is invalid, all changes will be
|
||||||
discarded.
|
discarded.
|
||||||
@ -325,8 +327,9 @@ choose to turn off this feature using the
|
|||||||
flag, described below.)
|
flag, described below.)
|
||||||
.It
|
.It
|
||||||
.Em "Adding new records to the local password database is discouraged" .
|
.Em "Adding new records to the local password database is discouraged" .
|
||||||
.Nm Chpass
|
The
|
||||||
will allow the administrator to add new records to the
|
.Nm
|
||||||
|
utility will allow the administrator to add new records to the
|
||||||
local password database while NIS is enabled, but this can lead to
|
local password database while NIS is enabled, but this can lead to
|
||||||
some confusion since the new records are appended to the end of
|
some confusion since the new records are appended to the end of
|
||||||
the master password file, usually after the special NIS '+' entries.
|
the master password file, usually after the special NIS '+' entries.
|
||||||
@ -341,8 +344,9 @@ to the NIS password maps, provided the
|
|||||||
server has been started with the
|
server has been started with the
|
||||||
.Fl a
|
.Fl a
|
||||||
flag to permitted additions (it refuses them by default).
|
flag to permitted additions (it refuses them by default).
|
||||||
.Nm Chpass
|
The
|
||||||
tries to update the local password database by default; to update the
|
.Nm
|
||||||
|
utility tries to update the local password database by default; to update the
|
||||||
NIS maps instead, invoke chpass with the
|
NIS maps instead, invoke chpass with the
|
||||||
.Fl y
|
.Fl y
|
||||||
flag.
|
flag.
|
||||||
@ -386,8 +390,9 @@ This flag is largely redundant since
|
|||||||
operates on NIS entries by default if NIS is enabled.
|
operates on NIS entries by default if NIS is enabled.
|
||||||
.It Fl d Ar domain
|
.It Fl d Ar domain
|
||||||
Specify a particular NIS domain.
|
Specify a particular NIS domain.
|
||||||
.Nm Chpass
|
The
|
||||||
uses the system domain name by default, as set by the
|
.Nm
|
||||||
|
utility uses the system domain name by default, as set by the
|
||||||
.Xr domainname 1
|
.Xr domainname 1
|
||||||
command.
|
command.
|
||||||
The
|
The
|
||||||
|
@ -46,8 +46,9 @@
|
|||||||
.Op Fl bfhpx
|
.Op Fl bfhpx
|
||||||
.Op Fl l Ar num
|
.Op Fl l Ar num
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Col
|
The
|
||||||
filters out reverse (and half reverse) line feeds so that the output is
|
.Nm
|
||||||
|
utility filters out reverse (and half reverse) line feeds so that the output is
|
||||||
in the correct order with only forward and half forward line
|
in the correct order with only forward and half forward line
|
||||||
feeds, and replaces white-space characters with tabs where possible.
|
feeds, and replaces white-space characters with tabs where possible.
|
||||||
This can be useful in processing the output of
|
This can be useful in processing the output of
|
||||||
@ -55,8 +56,9 @@ This can be useful in processing the output of
|
|||||||
and
|
and
|
||||||
.Xr tbl 1 .
|
.Xr tbl 1 .
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Col
|
The
|
||||||
reads from the standard input and writes to the standard output.
|
.Nm
|
||||||
|
utility reads from the standard input and writes to the standard output.
|
||||||
.Pp
|
.Pp
|
||||||
The options are as follows:
|
The options are as follows:
|
||||||
.Bl -tag -width indent
|
.Bl -tag -width indent
|
||||||
@ -117,8 +119,9 @@ reverse line feed (11)
|
|||||||
All unrecognized control characters and escape sequences are
|
All unrecognized control characters and escape sequences are
|
||||||
discarded.
|
discarded.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Col
|
The
|
||||||
keeps track of the character set as characters are read and makes
|
.Nm
|
||||||
|
utility keeps track of the character set as characters are read and makes
|
||||||
sure the character set is correct when they are output.
|
sure the character set is correct when they are output.
|
||||||
.Pp
|
.Pp
|
||||||
If the input attempts to back up to the last flushed line,
|
If the input attempts to back up to the last flushed line,
|
||||||
|
@ -44,8 +44,9 @@
|
|||||||
.Op Fl \&2
|
.Op Fl \&2
|
||||||
.Op Ar
|
.Op Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Colcrt
|
The
|
||||||
provides virtual half-line and reverse line feed sequences
|
.Nm
|
||||||
|
utility provides virtual half-line and reverse line feed sequences
|
||||||
for terminals without such capability, and on which overstriking
|
for terminals without such capability, and on which overstriking
|
||||||
is destructive.
|
is destructive.
|
||||||
Half-line characters and underlining (changed to dashing `\-')
|
Half-line characters and underlining (changed to dashing `\-')
|
||||||
|
@ -42,8 +42,9 @@
|
|||||||
.Nm
|
.Nm
|
||||||
.Op Ar start Op Ar stop
|
.Op Ar start Op Ar stop
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Colrm
|
The
|
||||||
removes selected columns from the lines of a file.
|
.Nm
|
||||||
|
utility removes selected columns from the lines of a file.
|
||||||
A column is defined as a single character in a line.
|
A column is defined as a single character in a line.
|
||||||
Input is read from the standard input.
|
Input is read from the standard input.
|
||||||
Output is written to the standard output.
|
Output is written to the standard output.
|
||||||
|
@ -80,8 +80,9 @@ For example, if column number two is being suppressed, lines printed
|
|||||||
in column number one will not have any tabs preceding them, and lines
|
in column number one will not have any tabs preceding them, and lines
|
||||||
printed in column number three will have one.
|
printed in column number three will have one.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Comm
|
The
|
||||||
assumes that the files are lexically sorted; all characters
|
.Nm
|
||||||
|
utility assumes that the files are lexically sorted; all characters
|
||||||
participate in line comparisons.
|
participate in line comparisons.
|
||||||
.Sh DIAGNOSTICS
|
.Sh DIAGNOSTICS
|
||||||
.Ex -std
|
.Ex -std
|
||||||
|
@ -52,8 +52,9 @@
|
|||||||
.Op Fl cfv
|
.Op Fl cfv
|
||||||
.Op Ar
|
.Op Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Compress
|
The
|
||||||
reduces the size of the named files using adaptive Lempel-Ziv coding.
|
.Nm
|
||||||
|
utility reduces the size of the named files using adaptive Lempel-Ziv coding.
|
||||||
Each
|
Each
|
||||||
.Ar file
|
.Ar file
|
||||||
is renamed to the same name plus the extension
|
is renamed to the same name plus the extension
|
||||||
@ -65,8 +66,9 @@ If compression would not reduce the size of a
|
|||||||
.Ar file ,
|
.Ar file ,
|
||||||
the file is ignored.
|
the file is ignored.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Uncompress
|
The
|
||||||
restores the compressed files to their original form, renaming the
|
.Nm uncompress
|
||||||
|
utility restores the compressed files to their original form, renaming the
|
||||||
files by deleting the
|
files by deleting the
|
||||||
.Dq .Z
|
.Dq .Z
|
||||||
extension.
|
extension.
|
||||||
@ -101,8 +103,9 @@ Additionally, files are overwritten without prompting for confirmation.
|
|||||||
Print the percentage reduction of each file.
|
Print the percentage reduction of each file.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Compress
|
The
|
||||||
uses a modified Lempel-Ziv algorithm.
|
.Nm
|
||||||
|
utility uses a modified Lempel-Ziv algorithm.
|
||||||
Common substrings in the file are first replaced by 9-bit codes 257 and up.
|
Common substrings in the file are first replaced by 9-bit codes 257 and up.
|
||||||
When code 512 is reached, the algorithm switches to 10-bit codes and
|
When code 512 is reached, the algorithm switches to 10-bit codes and
|
||||||
continues to use more bits until the
|
continues to use more bits until the
|
||||||
|
@ -209,16 +209,18 @@ for Fortran and Pascal is done in a very simpleminded way.
|
|||||||
No attempt
|
No attempt
|
||||||
is made to deal with block structure; if you have two Pascal procedures
|
is made to deal with block structure; if you have two Pascal procedures
|
||||||
in different blocks with the same name you lose.
|
in different blocks with the same name you lose.
|
||||||
|
The
|
||||||
.Nm
|
.Nm
|
||||||
does not
|
utility does not
|
||||||
understand about Pascal types.
|
understand about Pascal types.
|
||||||
.Pp
|
.Pp
|
||||||
The method of deciding whether to look for C, Pascal or
|
The method of deciding whether to look for C, Pascal or
|
||||||
Fortran
|
Fortran
|
||||||
functions is a hack.
|
functions is a hack.
|
||||||
.Pp
|
.Pp
|
||||||
|
The
|
||||||
.Nm
|
.Nm
|
||||||
relies on the input being well formed, and any syntactical
|
utility relies on the input being well formed, and any syntactical
|
||||||
errors will completely confuse it.
|
errors will completely confuse it.
|
||||||
It also finds some legal syntax
|
It also finds some legal syntax
|
||||||
confusing; for example, since it does not understand
|
confusing; for example, since it does not understand
|
||||||
|
@ -51,8 +51,9 @@
|
|||||||
.Fl U Ar int
|
.Fl U Ar int
|
||||||
.Op Ar cmd Op Ar args ...
|
.Op Ar cmd Op Ar args ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Doscmd
|
The
|
||||||
can either emulate a subset of DOS and run the
|
.Nm
|
||||||
|
utility can either emulate a subset of DOS and run the
|
||||||
single command
|
single command
|
||||||
.Ar cmd
|
.Ar cmd
|
||||||
.Ar args ,
|
.Ar args ,
|
||||||
@ -542,8 +543,9 @@ or
|
|||||||
to let the X server find it.
|
to let the X server find it.
|
||||||
.El
|
.El
|
||||||
.Sh FILE TRANSLATION
|
.Sh FILE TRANSLATION
|
||||||
.Nm Doscmd
|
The
|
||||||
translates
|
.Nm
|
||||||
|
utility translates
|
||||||
.Bsx
|
.Bsx
|
||||||
file names into
|
file names into
|
||||||
.Tn DOS
|
.Tn DOS
|
||||||
|
@ -102,8 +102,9 @@ Display block counts in 1024-byte (1-Kbyte) blocks.
|
|||||||
Filesystem mount points are not traversed.
|
Filesystem mount points are not traversed.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Du
|
The
|
||||||
counts the storage used by symbolic links and not the files they
|
.Nm
|
||||||
|
utility counts the storage used by symbolic links and not the files they
|
||||||
reference unless the
|
reference unless the
|
||||||
.Fl H
|
.Fl H
|
||||||
or
|
or
|
||||||
|
@ -17,13 +17,14 @@
|
|||||||
.Op +#
|
.Op +#
|
||||||
.Op Ar
|
.Op Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The command
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
utility
|
||||||
is a simple screen oriented text editor. It is always in text insertion
|
is a simple screen oriented text editor. It is always in text insertion
|
||||||
mode unless there is a prompt at the bottom of the terminal, or a
|
mode unless there is a prompt at the bottom of the terminal, or a
|
||||||
menu present (in a box in the middle of the terminal). The command
|
menu present (in a box in the middle of the terminal). The
|
||||||
.Nm ree
|
.Nm ree
|
||||||
is the same as
|
utility is the same as
|
||||||
.Nm ,
|
.Nm ,
|
||||||
but restricted to editing the named
|
but restricted to editing the named
|
||||||
file (no file operations, or shell escapes are allowed).
|
file (no file operations, or shell escapes are allowed).
|
||||||
@ -383,8 +384,9 @@ run on the file, and the file read back in once
|
|||||||
has completed making changes to the file.
|
has completed making changes to the file.
|
||||||
.Ss "Printing the contents of the editor"
|
.Ss "Printing the contents of the editor"
|
||||||
The user may select a menu item which prints the contents of the editor.
|
The user may select a menu item which prints the contents of the editor.
|
||||||
|
The
|
||||||
.Nm
|
.Nm
|
||||||
pipes the text in the editor to the command specified by the
|
utility pipes the text in the editor to the command specified by the
|
||||||
initialization command
|
initialization command
|
||||||
.Em printcommand
|
.Em printcommand
|
||||||
(see the section
|
(see the section
|
||||||
@ -544,8 +546,9 @@ supported materials.
|
|||||||
Always make a copy of files that cannot be easily reproduced before
|
Always make a copy of files that cannot be easily reproduced before
|
||||||
editing. Save files early, and save often.
|
editing. Save files early, and save often.
|
||||||
.Ss "International Code Set Support"
|
.Ss "International Code Set Support"
|
||||||
.Nm Ee
|
The
|
||||||
supports single-byte character code sets (eight-bit clean), or the
|
.Nm
|
||||||
|
utility supports single-byte character code sets (eight-bit clean), or the
|
||||||
Chinese Big-5 code set. (Other multi-byte code sets may function, but the
|
Chinese Big-5 code set. (Other multi-byte code sets may function, but the
|
||||||
reason Big-5 works is that a two-byte character also takes up two columns on
|
reason Big-5 works is that a two-byte character also takes up two columns on
|
||||||
the screen.)
|
the screen.)
|
||||||
|
@ -23,8 +23,9 @@
|
|||||||
.Op Fl k
|
.Op Fl k
|
||||||
.Op Ar password
|
.Op Ar password
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Enigma ,
|
The
|
||||||
also known as
|
.Nm
|
||||||
|
utility, also known as
|
||||||
.Nm crypt
|
.Nm crypt
|
||||||
is a
|
is a
|
||||||
.Em very
|
.Em very
|
||||||
|
@ -53,13 +53,15 @@
|
|||||||
.Op Fl a
|
.Op Fl a
|
||||||
.Op Ar
|
.Op Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Expand
|
The
|
||||||
processes the named files or the standard input writing
|
.Nm
|
||||||
|
utility processes the named files or the standard input writing
|
||||||
the standard output with tabs changed into blanks.
|
the standard output with tabs changed into blanks.
|
||||||
Backspace characters are preserved into the output and decrement
|
Backspace characters are preserved into the output and decrement
|
||||||
the column count for tab calculations.
|
the column count for tab calculations.
|
||||||
.Nm Expand
|
The
|
||||||
is useful for pre-processing character files
|
.Nm
|
||||||
|
utility is useful for pre-processing character files
|
||||||
(before sorting, looking at specific columns, etc.) that
|
(before sorting, looking at specific columns, etc.) that
|
||||||
contain tabs.
|
contain tabs.
|
||||||
.Pp
|
.Pp
|
||||||
@ -71,8 +73,9 @@ spaces apart instead of the default 8.
|
|||||||
If multiple tabstops are given then the tabs are set at those
|
If multiple tabstops are given then the tabs are set at those
|
||||||
specific columns.
|
specific columns.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Unexpand
|
The
|
||||||
puts tabs back into the data from the standard input or the named
|
.Nm unexpand
|
||||||
|
utility puts tabs back into the data from the standard input or the named
|
||||||
files and writes the result on the standard output.
|
files and writes the result on the standard output.
|
||||||
.Pp
|
.Pp
|
||||||
Option (with
|
Option (with
|
||||||
|
@ -48,8 +48,9 @@
|
|||||||
.Op Fl f Ar file
|
.Op Fl f Ar file
|
||||||
.Op Ar URL ...
|
.Op Ar URL ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Fetch
|
The
|
||||||
provides a command-line interface to the
|
.Nm
|
||||||
|
utility provides a command-line interface to the
|
||||||
.Xr fetch 3
|
.Xr fetch 3
|
||||||
library.
|
library.
|
||||||
Its purpose is to retrieve the file(s) pointed to by the URL(s) on the
|
Its purpose is to retrieve the file(s) pointed to by the URL(s) on the
|
||||||
|
@ -18,10 +18,7 @@
|
|||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
This manual page documents version 3.37 of the
|
This manual page documents version 3.37 of the
|
||||||
.Nm
|
.Nm
|
||||||
command.
|
utility which tests each argument in an attempt to classify it.
|
||||||
.Pp
|
|
||||||
.Nm File
|
|
||||||
tests each argument in an attempt to classify it.
|
|
||||||
There are three sets of tests, performed in this order:
|
There are three sets of tests, performed in this order:
|
||||||
filesystem tests, magic number tests, and language tests.
|
filesystem tests, magic number tests, and language tests.
|
||||||
The
|
The
|
||||||
@ -429,8 +426,9 @@ strings for use in heterogenous network environments) for faster startup.
|
|||||||
Then the program would run as fast as the Version 7 program of the same name,
|
Then the program would run as fast as the Version 7 program of the same name,
|
||||||
with the flexibility of the System V version.
|
with the flexibility of the System V version.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm File
|
The
|
||||||
uses several algorithms that favor speed over accuracy,
|
.Nm
|
||||||
|
utility uses several algorithms that favor speed over accuracy,
|
||||||
thus it can be misled about the contents of
|
thus it can be misled about the contents of
|
||||||
text
|
text
|
||||||
files.
|
files.
|
||||||
|
@ -46,13 +46,12 @@
|
|||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
displays information about the system users.
|
utility displays information about the system users.
|
||||||
.Pp
|
.Pp
|
||||||
Options are:
|
Options are:
|
||||||
.Bl -tag -width flag
|
.Bl -tag -width flag
|
||||||
.It Fl s
|
.It Fl s
|
||||||
.Nm Finger
|
Display the user's login name, real name, terminal name and write
|
||||||
displays the user's login name, real name, terminal name and write
|
|
||||||
status (as a ``*'' before the terminal name if write permission is
|
status (as a ``*'' before the terminal name if write permission is
|
||||||
denied), idle time, login time, and either office location and office
|
denied), idle time, login time, and either office location and office
|
||||||
phone number, or the remote host.
|
phone number, or the remote host.
|
||||||
@ -89,7 +88,7 @@ option, the office location and office phone information is displayed
|
|||||||
instead of the name of the remote host.
|
instead of the name of the remote host.
|
||||||
.Pp
|
.Pp
|
||||||
.It Fl l
|
.It Fl l
|
||||||
Produces a multi-line format displaying all of the information
|
Produce a multi-line format displaying all of the information
|
||||||
described for the
|
described for the
|
||||||
.Fl s
|
.Fl s
|
||||||
option as well as the user's home directory, home phone number, login
|
option as well as the user's home directory, home phone number, login
|
||||||
@ -124,7 +123,7 @@ mailbox since new mail arriving, or ``New mail received ...'', ``Unread
|
|||||||
since ...'' if they have new mail.
|
since ...'' if they have new mail.
|
||||||
.Pp
|
.Pp
|
||||||
.It Fl p
|
.It Fl p
|
||||||
Prevents
|
Prevent
|
||||||
the
|
the
|
||||||
.Fl l
|
.Fl l
|
||||||
option of
|
option of
|
||||||
@ -168,8 +167,9 @@ If no arguments are specified,
|
|||||||
.Nm
|
.Nm
|
||||||
will print an entry for each user currently logged into the system.
|
will print an entry for each user currently logged into the system.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Finger
|
The
|
||||||
may be used to look up users on a remote machine.
|
.Nm
|
||||||
|
utility may be used to look up users on a remote machine.
|
||||||
The format is to specify a
|
The format is to specify a
|
||||||
.Ar user
|
.Ar user
|
||||||
as
|
as
|
||||||
@ -201,8 +201,9 @@ is invoked by
|
|||||||
.Xr fingerd 8 ,
|
.Xr fingerd 8 ,
|
||||||
aliases will work for both local and network queries.
|
aliases will work for both local and network queries.
|
||||||
.Sh ENVIRONMENT
|
.Sh ENVIRONMENT
|
||||||
.Nm Finger
|
The
|
||||||
utilizes the following environment variable, if it exists:
|
.Nm
|
||||||
|
utility utilizes the following environment variable, if it exists:
|
||||||
.Bl -tag -width Fl
|
.Bl -tag -width Fl
|
||||||
.It Ev FINGER
|
.It Ev FINGER
|
||||||
This variable may be set with favored options to
|
This variable may be set with favored options to
|
||||||
|
@ -49,8 +49,9 @@
|
|||||||
.Op Ar goal Oo Ar maximum Oc | Fl Ns Ar width | Fl w Ar width
|
.Op Ar goal Oo Ar maximum Oc | Fl Ns Ar width | Fl w Ar width
|
||||||
.Op Ar
|
.Op Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
The
|
||||||
.Nm
|
.Nm
|
||||||
is a simple text formatter which reads the concatenation of input
|
utility is a simple text formatter which reads the concatenation of input
|
||||||
files (or standard input if none are given) and produces on standard
|
files (or standard input if none are given) and produces on standard
|
||||||
output a version of its input with lines as close to the
|
output a version of its input with lines as close to the
|
||||||
.Ar goal
|
.Ar goal
|
||||||
@ -137,7 +138,9 @@ spaces per tab stop.
|
|||||||
The default is 8.
|
The default is 8.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
utility
|
||||||
is meant to format mail messages prior to sending, but may also be useful
|
is meant to format mail messages prior to sending, but may also be useful
|
||||||
for other simple tasks.
|
for other simple tasks.
|
||||||
For instance,
|
For instance,
|
||||||
@ -177,6 +180,7 @@ When the first line of an indented paragraph is very long (more than
|
|||||||
about twice the goal length), the indentation in the output can be
|
about twice the goal length), the indentation in the output can be
|
||||||
wrong.
|
wrong.
|
||||||
.Pp
|
.Pp
|
||||||
|
The
|
||||||
.Nm
|
.Nm
|
||||||
is not infallible in guessing what lines are mail headers and what
|
utility is not infallible in guessing what lines are mail headers and what
|
||||||
lines are not.
|
lines are not.
|
||||||
|
@ -44,8 +44,9 @@
|
|||||||
.Op Fl w Ar width
|
.Op Fl w Ar width
|
||||||
.Op Ar
|
.Op Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Fold
|
The
|
||||||
is a filter which folds the contents of the specified files,
|
.Nm
|
||||||
|
utility is a filter which folds the contents of the specified files,
|
||||||
or the standard input if no files are specified,
|
or the standard input if no files are specified,
|
||||||
breaking the lines to have a maximum of 80 characters.
|
breaking the lines to have a maximum of 80 characters.
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -42,11 +42,12 @@
|
|||||||
.Nm
|
.Nm
|
||||||
.Op Fl s
|
.Op Fl s
|
||||||
.Op Fl c Ar core
|
.Op Fl c Ar core
|
||||||
.Op Ar exec
|
.Op Ar executable
|
||||||
.Ar pid
|
.Ar pid
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Gcore
|
The
|
||||||
creates a core image of the specified process,
|
.Nm
|
||||||
|
utility creates a core image of the specified process,
|
||||||
suitable for use with
|
suitable for use with
|
||||||
.Xr gdb 1 .
|
.Xr gdb 1 .
|
||||||
By default, the core is written to the file
|
By default, the core is written to the file
|
||||||
@ -60,7 +61,7 @@ specified,
|
|||||||
will use
|
will use
|
||||||
.Dq Pa /proc/<pid>/file .
|
.Dq Pa /proc/<pid>/file .
|
||||||
.Pp
|
.Pp
|
||||||
The options are:
|
The following options are available:
|
||||||
.Bl -tag -width indent
|
.Bl -tag -width indent
|
||||||
.It Fl c
|
.It Fl c
|
||||||
Write the core file to the specified file instead of
|
Write the core file to the specified file instead of
|
||||||
@ -76,13 +77,14 @@ The same effect can be achieved manually with
|
|||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /var/log/messages -compact
|
.Bl -tag -width /var/log/messages -compact
|
||||||
.It Pa core.<pid>
|
.It Pa core.<pid>
|
||||||
The core image.
|
the core image
|
||||||
.It Pa /proc/<pid>/file
|
.It Pa /proc/<pid>/file
|
||||||
The executable image.
|
the executable image
|
||||||
.El
|
.El
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
.Nm Gcore
|
A
|
||||||
appeared in
|
.Nm
|
||||||
|
utility appeared in
|
||||||
.Bx 4.2 .
|
.Bx 4.2 .
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
Context switches or paging activity that occur while
|
Context switches or paging activity that occur while
|
||||||
@ -92,7 +94,8 @@ For best results, use
|
|||||||
.Fl s
|
.Fl s
|
||||||
to temporarily stop the target process.
|
to temporarily stop the target process.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Gcore
|
The
|
||||||
is not compatible with the original
|
.Nm
|
||||||
|
utility is not compatible with the original
|
||||||
.Bx 4.2
|
.Bx 4.2
|
||||||
version.
|
version.
|
||||||
|
@ -10,8 +10,9 @@
|
|||||||
.Nm args=\`getopt Ar optstring $*\`
|
.Nm args=\`getopt Ar optstring $*\`
|
||||||
; errcode=$?; set \-\- $args
|
; errcode=$?; set \-\- $args
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Getopt
|
The
|
||||||
is used to break up options in command lines for easy parsing by
|
.Nm
|
||||||
|
utility is used to break up options in command lines for easy parsing by
|
||||||
shell procedures, and to check for legal options.
|
shell procedures, and to check for legal options.
|
||||||
.Ar Optstring
|
.Ar Optstring
|
||||||
is a string of recognized option letters (see
|
is a string of recognized option letters (see
|
||||||
@ -22,8 +23,9 @@ separated from it by white space.
|
|||||||
The special option
|
The special option
|
||||||
.Ql \-\-
|
.Ql \-\-
|
||||||
is used to delimit the end of the options.
|
is used to delimit the end of the options.
|
||||||
.Nm Getopt
|
The
|
||||||
will place
|
.Nm
|
||||||
|
utility will place
|
||||||
.Ql \-\-
|
.Ql \-\-
|
||||||
in the arguments at the end of the options,
|
in the arguments at the end of the options,
|
||||||
or recognize it if used explicitly.
|
or recognize it if used explicitly.
|
||||||
@ -87,8 +89,9 @@ cmd \-a \-oarg \-\- file file
|
|||||||
.Xr sh 1 ,
|
.Xr sh 1 ,
|
||||||
.Xr getopt 3
|
.Xr getopt 3
|
||||||
.Sh DIAGNOSTICS
|
.Sh DIAGNOSTICS
|
||||||
.Nm Getopt
|
The
|
||||||
prints an error message on the standard error output and exits with
|
.Nm
|
||||||
|
utility prints an error message on the standard error output and exits with
|
||||||
status > 0 when it encounters an option letter not included in
|
status > 0 when it encounters an option letter not included in
|
||||||
.Ar optstring .
|
.Ar optstring .
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
|
@ -65,7 +65,7 @@ the standard input, if no files are specified, in a user specified
|
|||||||
format.
|
format.
|
||||||
.Pp
|
.Pp
|
||||||
The options are as follows:
|
The options are as follows:
|
||||||
.Bl -tag -width Fl
|
.Bl -tag -width indent
|
||||||
.It Fl b
|
.It Fl b
|
||||||
.Em One-byte octal display .
|
.Em One-byte octal display .
|
||||||
Display the input offset in hexadecimal, followed by sixteen
|
Display the input offset in hexadecimal, followed by sixteen
|
||||||
@ -137,9 +137,7 @@ or
|
|||||||
.Li 1048576 ,
|
.Li 1048576 ,
|
||||||
respectively.
|
respectively.
|
||||||
.It Fl v
|
.It Fl v
|
||||||
The
|
Cause
|
||||||
.Fl v
|
|
||||||
option causes
|
|
||||||
.Nm
|
.Nm
|
||||||
to display all input data.
|
to display all input data.
|
||||||
Without the
|
Without the
|
||||||
@ -218,8 +216,9 @@ described in the C standard are supported:
|
|||||||
.Ed
|
.Ed
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Hexdump
|
The
|
||||||
also supports the following additional conversion strings:
|
.Nm
|
||||||
|
utility also supports the following additional conversion strings:
|
||||||
.Bl -tag -width Fl
|
.Bl -tag -width Fl
|
||||||
.It Cm \&_a Ns Op Cm dox
|
.It Cm \&_a Ns Op Cm dox
|
||||||
Display the input offset, cumulative across input files, of the
|
Display the input offset, cumulative across input files, of the
|
||||||
@ -247,7 +246,9 @@ Output characters in the default character set.
|
|||||||
Nonprinting characters are displayed as a single
|
Nonprinting characters are displayed as a single
|
||||||
.Dq Cm \&. .
|
.Dq Cm \&. .
|
||||||
.It Cm _u
|
.It Cm _u
|
||||||
Output US ASCII characters, with the exception that control characters are
|
Output US
|
||||||
|
.Tn ASCII
|
||||||
|
characters, with the exception that control characters are
|
||||||
displayed using the following, lower-case, names.
|
displayed using the following, lower-case, names.
|
||||||
Characters greater than 0xff, hexadecimal, are displayed as hexadecimal
|
Characters greater than 0xff, hexadecimal, are displayed as hexadecimal
|
||||||
strings.
|
strings.
|
||||||
|
@ -51,12 +51,14 @@
|
|||||||
.Sm on
|
.Sm on
|
||||||
.Ar file
|
.Ar file
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Od
|
The
|
||||||
has been deprecated in favor of
|
.Nm
|
||||||
|
utility has been deprecated in favor of
|
||||||
.Xr hexdump 1 .
|
.Xr hexdump 1 .
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Hexdump ,
|
The
|
||||||
if called as
|
.Nm hexdump
|
||||||
|
utility, if called as
|
||||||
.Nm ,
|
.Nm ,
|
||||||
provides compatibility for the options listed above.
|
provides compatibility for the options listed above.
|
||||||
.Pp
|
.Pp
|
||||||
|
Loading…
Reference in New Issue
Block a user