Use `The .Nm utility'

This commit is contained in:
Philippe Charnier 2002-04-16 20:08:06 +00:00
parent 093e3ce74f
commit e004acc891
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94869
9 changed files with 50 additions and 29 deletions

View File

@ -48,7 +48,9 @@
.Op Fl t Ar type .Op Fl t Ar type
.Op Ar file | filesystem ... .Op Ar file | filesystem ...
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Df The
.Nm
utility
displays statistics about the amount of free disk space on the specified displays statistics about the amount of free disk space on the specified
.Ar filesystem .Ar filesystem
or on the filesystem of which or on the filesystem of which

View File

@ -42,8 +42,9 @@
.Nm .Nm
.Op Ar ypdomain .Op Ar ypdomain
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Domainname The
prints the name of the current YP/NIS domain. The super-user can .Nm
utility prints the name of the current YP/NIS domain. The super-user can
set the domain name by supplying an argument; this is usually done in the set the domain name by supplying an argument; this is usually done in the
network initialization script network initialization script
.Pa /etc/rc.network , .Pa /etc/rc.network ,

View File

@ -15,8 +15,9 @@
.\" .LP .\" .LP
.\" red [-] [-sx] [-p \fIstring\fR] [\fIfile\fR] .\" red [-] [-sx] [-p \fIstring\fR] [\fIfile\fR]
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Ed The
is a line-oriented text editor. .Nm
utility is a line-oriented text editor.
It is used to create, display, modify and otherwise manipulate text It is used to create, display, modify and otherwise manipulate text
files. files.
.\" .B red .\" .B red
@ -147,8 +148,9 @@ only if it is not prefixed with a bang.
.El .El
.Sh LINE ADDRESSING .Sh LINE ADDRESSING
An address represents the number of a line in the buffer. An address represents the number of a line in the buffer.
.Nm Ed The
maintains a .Nm
utility maintains a
.Em current address .Em current address
which is which is
typically supplied to commands as the default address when none is specified. typically supplied to commands as the default address when none is specified.
@ -442,7 +444,9 @@ to print the last line affected by the command.
An interrupt (typically ^C) has the effect of aborting the current command An interrupt (typically ^C) has the effect of aborting the current command
and returning the editor to command mode. and returning the editor to command mode.
.Pp .Pp
.Nm Ed The
.Nm
utility
recognizes the following commands. The commands are shown together with recognizes the following commands. The commands are shown together with
the default address or address range supplied if none is the default address or address range supplied if none is
specified (in parenthesis). specified (in parenthesis).
@ -578,8 +582,9 @@ Print the addressed lines unambiguously.
If a single line fills for than one screen (as might be the case If a single line fills for than one screen (as might be the case
when viewing a binary file, for instance), a `--More--' when viewing a binary file, for instance), a `--More--'
prompt is printed on the last line. prompt is printed on the last line.
.Nm Ed The
waits until the RETURN key is pressed .Nm
utility waits until the RETURN key is pressed
before displaying the next screen. before displaying the next screen.
The current address is set to the last line The current address is set to the last line
printed. printed.
@ -804,8 +809,9 @@ If the first character of
is `!', then it is replaced by text of the is `!', then it is replaced by text of the
previous previous
.Ar !command . .Ar !command .
.Nm Ed The
does not process .Nm
utility does not process
.Ar command .Ar command
for backslash (\\) escapes. for backslash (\\) escapes.
However, an unescaped However, an unescaped
@ -845,8 +851,9 @@ USD:12-13
.%D 1981 .%D 1981
.Re .Re
.Sh LIMITATIONS .Sh LIMITATIONS
.Nm Ed The
processes .Nm
utility processes
.Ar file .Ar file
arguments for backslash escapes, i.e., in a filename, arguments for backslash escapes, i.e., in a filename,
any characters preceded by a backslash (\\) are any characters preceded by a backslash (\\) are

View File

@ -43,8 +43,9 @@
.Op Fl s .Op Fl s
.Op Ar name-of-host .Op Ar name-of-host
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Hostname The
prints the name of the current host. The super-user can .Nm
utility prints the name of the current host. The super-user can
set the hostname by supplying an argument; this is usually done in the set the hostname by supplying an argument; this is usually done in the
network initialization script network initialization script
.Pa /etc/rc.network , .Pa /etc/rc.network ,

View File

@ -47,8 +47,9 @@
.Op Fl m Ar mode .Op Fl m Ar mode
.Ar directory_name ... .Ar directory_name ...
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Mkdir The
creates the directories named as operands, in the order specified, .Nm
utility creates the directories named as operands, in the order specified,
using mode using mode
.Li rwxrwxrwx (\&0777) .Li rwxrwxrwx (\&0777)
as modified by the current as modified by the current

View File

@ -54,7 +54,9 @@
.Nm .Nm
.Op Fl L .Op Fl L
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Ps The
.Nm
utility
displays a header line followed by lines containing information about your displays a header line followed by lines containing information about your
processes that have controlling terminals. processes that have controlling terminals.
This information is sorted by controlling terminal, then by process This information is sorted by controlling terminal, then by process
@ -347,7 +349,9 @@ When printing using the command keyword, a process that has exited and
has a parent that has not yet waited for the process (in other words, a zombie) has a parent that has not yet waited for the process (in other words, a zombie)
is listed as ``<defunct>'', and a process which is blocked while trying is listed as ``<defunct>'', and a process which is blocked while trying
to exit is listed as ``<exiting>''. to exit is listed as ``<exiting>''.
.Nm Ps The
.Nm
utility
makes an educated guess as to the file name and arguments given when the makes an educated guess as to the file name and arguments given when the
process was created by examining memory or the swap area. process was created by examining memory or the swap area.
The method is inherently somewhat unreliable and in any event a process The method is inherently somewhat unreliable and in any event a process

View File

@ -45,8 +45,9 @@
.Nm .Nm
.Op Fl L | P .Op Fl L | P
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Pwd The
writes the absolute pathname of the current working directory to .Nm
utility writes the absolute pathname of the current working directory to
the standard output. the standard output.
.Pp .Pp
Some shells may provide a builtin Some shells may provide a builtin

View File

@ -49,8 +49,9 @@
.Ar .Ar
.Ar directory .Ar directory
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Rcp The
copies files between machines. Each .Nm
utility copies files between machines. Each
.Ar file .Ar file
or or
.Ar directory .Ar directory
@ -113,14 +114,16 @@ A
on a remote host may be quoted (using \e, ", or \(aa) on a remote host may be quoted (using \e, ", or \(aa)
so that the metacharacters are interpreted remotely. so that the metacharacters are interpreted remotely.
.Pp .Pp
.Nm Rcp The
does not prompt for passwords; it performs remote execution .Nm
utility does not prompt for passwords; it performs remote execution
via via
.Xr rsh 1 , .Xr rsh 1 ,
and requires the same authorization. and requires the same authorization.
.Pp .Pp
.Nm Rcp The
handles third party copies, where neither source nor target files .Nm
utility handles third party copies, where neither source nor target files
are on the current machine. are on the current machine.
.Sh FILES .Sh FILES
.Bl -tag -width /etc/auth.conf -compact .Bl -tag -width /etc/auth.conf -compact

View File

@ -47,8 +47,9 @@
.Op Fl n | Fl e .Op Fl n | Fl e
.Ar args... .Ar args...
.Sh DESCRIPTION .Sh DESCRIPTION
The
.Nm .Nm
prints its arguments on the standard output, separated by spaces. utility prints its arguments on the standard output, separated by spaces.
Unless the Unless the
.Fl n .Fl n
option is present, a newline is output following the arguments. option is present, a newline is output following the arguments.