Restore lost <replaceable> tags, and some class="directory" attributes
for <filename> tags.
This commit is contained in:
parent
d00687c023
commit
e8eb6ab2db
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44249
1 changed files with 15 additions and 15 deletions
|
|
@ -535,8 +535,8 @@ console none unknown off secure</programlisting>
|
|||
on the system. This is the user's starting directory
|
||||
when the user logs in. A common convention is to put
|
||||
all user home directories under
|
||||
<filename>/home/username</filename> or
|
||||
<filename>/usr/home/username</filename>. Each user
|
||||
<filename class="directory"><replaceable>/home/username</replaceable></filename> or
|
||||
<filename class="directory"><replaceable>/usr/home/username</replaceable></filename>. Each user
|
||||
stores their personal files and subdirectories in
|
||||
their own home directory.</para>
|
||||
</listitem>
|
||||
|
|
@ -1043,7 +1043,7 @@ passwd: done</screen>
|
|||
to a login class, <literal>default</literal> by default, and
|
||||
each login class has a set of login capabilities associated
|
||||
with it. A login capability is a
|
||||
<literal>name=value</literal> pair, where
|
||||
<literal><replaceable>name</replaceable>=<replaceable>value</replaceable></literal> pair, where
|
||||
<replaceable>name</replaceable> is a well-known identifier and
|
||||
<replaceable>value</replaceable> is an arbitrary string which
|
||||
is processed accordingly depending on the
|
||||
|
|
@ -1710,7 +1710,7 @@ total 530
|
|||
<replaceable>FILE</replaceable>, and adds the execute
|
||||
permissions for everyone:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>chmod go-w,a+x FILE</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>chmod go-w,a+x <replaceable>FILE</replaceable></userinput></screen>
|
||||
|
||||
<!--
|
||||
<para>Most users will not notice this, but it should be pointed
|
||||
|
|
@ -1813,7 +1813,7 @@ total 530
|
|||
<screen>&prompt.root; <userinput>chmod 4755 suidexample.sh</userinput></screen>
|
||||
|
||||
<para>The permissions on
|
||||
<filename>suidexample.sh</filename>
|
||||
<filename><replaceable>suidexample.sh</replaceable></filename>
|
||||
now look like the following:</para>
|
||||
|
||||
<programlisting>-rwsr-xr-x 1 trhodes trhodes 63 Aug 29 06:36 suidexample.sh</programlisting>
|
||||
|
|
@ -2094,14 +2094,14 @@ root 5211 0.0 0.2 3620 1724 2 I+ 2:09AM 0:00.01 passwd</screen>
|
|||
<entry><filename>/usr/local/</filename></entry>
|
||||
<entry>Local executables and libraries. Also used as
|
||||
the default destination for the &os; ports framework.
|
||||
Within <filename>/usr/local</filename>, the general
|
||||
Within <filename class="directory">/usr/local</filename>, the general
|
||||
layout sketched out by &man.hier.7; for
|
||||
<filename>/usr</filename> should be used. Exceptions
|
||||
<filename class="directory">/usr</filename> should be used. Exceptions
|
||||
are the man directory, which is directly under
|
||||
<filename>/usr/local</filename> rather than under
|
||||
<filename>/usr/local/share</filename>, and the ports
|
||||
<filename class="directory">/usr/local</filename> rather than under
|
||||
<filename class="directory">/usr/local/share</filename>, and the ports
|
||||
documentation is in
|
||||
<filename>share/doc/port</filename>.</entry>
|
||||
<filename class="directory">share/doc/<replaceable>port</replaceable></filename>.</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
|
|
@ -2810,7 +2810,7 @@ root 5211 0.0 0.2 3620 1724 2 I+ 2:09AM 0:00.01 passwd</screen>
|
|||
basic syntax is as follows:</para>
|
||||
|
||||
<informalexample>
|
||||
<screen>&prompt.root; <userinput>mount device mountpoint</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>mount <replaceable>device</replaceable> <replaceable>mountpoint</replaceable></userinput></screen>
|
||||
</informalexample>
|
||||
|
||||
<para>This command provides many options which are described in
|
||||
|
|
@ -3421,7 +3421,7 @@ Swap: 2048M Total, 2048M Free
|
|||
to this file. If it is missing, add it using this command,
|
||||
replacing the path with the path of the shell:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>echo /usr/local/bin/bash >> /etc/shells</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>echo <replaceable>/usr/local/bin/bash</replaceable> >> /etc/shells</userinput></screen>
|
||||
|
||||
<para>Then, rerun &man.chsh.1;.</para>
|
||||
</note>
|
||||
|
|
@ -3527,7 +3527,7 @@ Swap: 2048M Total, 2048M Free
|
|||
|
||||
<para>A simple editor to learn is &man.ee.1;, which stands for
|
||||
easy editor. To start this editor, type <command>ee
|
||||
filename</command> where
|
||||
<replaceable>filename</replaceable></command> where
|
||||
<replaceable>filename</replaceable> is the name of the file to
|
||||
be edited. Once inside the editor, all of the commands for
|
||||
manipulating the editor's functions are listed at the top of the
|
||||
|
|
@ -3600,7 +3600,7 @@ Swap: 2048M Total, 2048M Free
|
|||
available arguments. These manuals can be viewed using
|
||||
<command>man</command>:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>man command</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>man <replaceable>command</replaceable></userinput></screen>
|
||||
|
||||
<para>where <replaceable>command</replaceable> is the name of the
|
||||
command to learn about. For example, to learn more about
|
||||
|
|
@ -3668,7 +3668,7 @@ Swap: 2048M Total, 2048M Free
|
|||
-k</command> to search for keywords in the manual page
|
||||
descriptions:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>man -k mail</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>man -k <replaceable>mail</replaceable></userinput></screen>
|
||||
|
||||
<para>This command displays a list of commands that have the
|
||||
keyword <quote>mail</quote> in their descriptions. This is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue