📄 071-079.html
字号:
<HTML>
<HEAD>
<TITLE>Linux in Plain English:Linux Commands Organized by Group</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!--ISBN=1558285423//-->
<!--TITLE=Linux in Plain English//-->
<!--AUTHOR=Patrick Volkerding//-->
<!--AUTHOR=Kevin Reichard//-->
<!--PUBLISHER=IDG Books Worldwide, Inc.//-->
<!--IMPRINT=M & T Books//-->
<!--CHAPTER=5//-->
<!--PAGES=071-079//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="065-070.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="079-086.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P><FONT SIZE="+1"><B>fslsfonts......<TT>List Fonts</TT></B></FONT></P>
<IMG SRC="images/05-08i.jpg"><P><B>fslsfonts</B> <I>option(s) pattern</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>fslsfonts</B> command lists the fonts served by a running X font server. You can list all the fonts (which can be quite voluminous), or you can match fonts with a <I>pattern</I>, which supports wildcards. (If you use the * and <I>?</I> wildcards, you must quote them.)</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="35%"><B>-1</B>
<TD WIDTH="65%">Formats output in a single column.
<TR>
<TD><B>-C</B>
<TD>Formats output in multiple columns.
<TR>
<TD><B>-l</B>
<TD>Lists font attributes.
<TR>
<TD><B>-ll</B>
<TD>Lists font properties.
<TR>
<TD><B>-lll</B>
<TD>Works the same as the <B>-lll</B> option with <B>xlsfonts</B>.
<TR>
<TD><B>-m</B>
<TD>Lists the minimum and maximum bounds of each font.
<TR>
<TD><B>-server host:port</B>
<TD>Specifies the X font server.
<TR>
<TD><B>-w width</B>
<TD>Sets the width for output; the default is 79 characters.
<TR>
<TD><B>-n columns</B>
<TD>Sets the number of columns for the output.
<TR>
<TD><B>-u</B>
<TD>Leaves output unsorted.
</TABLE>
<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>
<DL>
<DD><B>xfs
<DD>showfont
<DD>xlsfonts</B>
</DL>
<P><FONT SIZE="+1"><B>fstobdf......<TT>Create BDF Font</TT></B></FONT></P>
<P><B>fstobdf</B> <I>option(s)</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>fstobdf</B> reads an X font from a font server and generates a BDF font.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="40%"><B>-fn fontname</B>
<TD WIDTH="60%">Specifies the font from the X font server.
<TR>
<TD><B>-server servername</B>
<TD>Specifies the X font server.
</TABLE>
<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>
<DL>
<DD><B>xfs
<DD>bdftopcf
<DD>fslsfonts</B>
</DL>
<P><FONT SIZE="+1"><B>getkeycodes......<TT>Get Keycodes</TT></B></FONT></P>
<P><B>getkeycodes</B></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>getkeycodes</B> command returns the scancode-to-keycode mapping table from the kernel.</P>
<P><FONT SIZE="+1"><B>id......<TT>Personal Identification</TT></B></FONT></P>
<P><B>id</B> <I>option(s) username</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>id</B> command returns information about yourself or another specified <I>username</I>. This information includes user and group IDs, as well as effective user and group IDs when applicable.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="20%"><B>-g</B>
<TD WIDTH="80%">Returns only group information.
<TR>
<TD><B>-G</B>
<TD>Returns supplementary group information.
<TR>
<TD VALIGN="TOP"><B>-n</B>
<TD>Returns names (not numbers) when used with the <B>-g</B>, <B>-G</B>, or <B>-u</B> options.
<TR>
<TD><B>-r</B>
<TD>Returns real user ID and group ID, not effective IDs.
<TR>
<TD><B>-u</B>
<TD>Returns user ID only.
</TABLE>
<P><FONT SIZE="+1"><B>info......<TT>Texinfo Information</TT></B></FONT></P>
<IMG SRC="images/05-09i.jpg"><P><B>info</B> <I>option topic</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>info</B> command returns hypertext information about a given <I>topic</I>, which can be a command or a subject. This information is stored in GNU <B>texinfo</B> format in an outline fashion; once you have launched <B>info</B> with a topic, you can move up and down the outline, looking at related topics. If you launch <B>info</B> without a topic, you’ll see the opening <B>info</B> screen (stored in <B>/usr/local/info/dir</B>), explaining how <B>info</B> works and how you can maneuver through the system.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="30%" VALIGN="TOP"><B>-d <I>directory</I></B>
<TD WIDTH="70%">Uses <I>directory</I> instead of the standard <B>info</B> directory (<B>/usr/local/info/dir</B>).
<TR>
<TD VALIGN="TOP"><B>--dribble <I>file</I></B>
<TD>Stores keystrokes in <I>file</I>, which can then be used by the <B>--restore</B> option to go back to a specific place in an <B>info</B> session.
<TR>
<TD><B>-f <I>file</I></B>
<TD>Uses <I>file</I> instead of the standard <B>info</B> file.
<TR>
<TD><B>--help</B>
<TD>Displays help information about the <B>info</B> command.
<TR>
<TD><B>-n <I>node</I></B>
<TD>Specifies <I>node</I> to begin.
<TR>
<TD><B>-o <I>file</I></B>
<TD>Sends information to <I>file</I> instead of standard output.
<TR>
<TD><B>--restore <I>file</I></B>
<TD>Runs <I>file</I> (created with the <B>--dribble</B> option).
<TR>
<TD><B>--subnodes</B>
<TD>Displays subtopics.
<TR>
<TD><B>--version</B>
<TD>Displays <B>info</B> version.
</TABLE>
<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>
<DL>
<DD><B>man
<DD>xman</B>
</DL>
<P><FONT SIZE="+1"><B>kdb_mode......<TT>Keyboard Mode</TT></B></FONT></P>
<P><B>kdb_mode</B> <I>option(s)</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>kdb_mode</B> command returns the current keyboard mode or changes it.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="20%"><B>-a</B>
<TD WIDTH="80%">Sets mode to XLATE (ASCII).
<TR>
<TD><B>-k</B>
<TD>Sets mode to MEDIUM-RAW.
<TR>
<TD><B>-s</B>
<TD>Sets mode to RAW.
<TR>
<TD><B>-u</B>
<TD>Sets mode to Unicode.
</TABLE>
<P><FONT SIZE="+1"><B>kill......<TT>Kill Process</TT></B></FONT></P>
<P><B>kill</B> <I>option(s) PID</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>kill</B> command ends a process ID (PID). Only owners of the PID or a privileged user (i.e., root user) can kill a process.</P>
<P>This command is also built into the <B>bash</B> and C shells, although it works somewhat differently there.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="20%"><B>-l</B>
<TD WIDTH="80%">Lists process IDs.
<TR>
<TD><B>-<I>signal</I></B>
<TD>Specifies a <I>signal</I> returned by <B>ps -f</B> or <B>kill -l</B>.
</TABLE>
<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>
<DL>
<DD><B>killall
<DD>ps</B>
</DL>
<P><FONT SIZE="+1"><B>killall......<TT>Kill All Processes</TT></B></FONT></P>
<P><B>killall</B> <I>option(s) name</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>killall</B> command kills all processes by name, no matter how many processes are using a command. To kill a process running an executable file, use / somewhere in the command name.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="20%"><B>-i</B>
<TD WIDTH="80%">Confirms that processes should indeed be killed.
<TR>
<TD><B>-l</B>
<TD>Lists process IDs.
<TR>
<TD><B>-v</B>
<TD>Runs in verbose mode; outcomes and IDs are listed.
<TR>
<TD><B>-<I>signal</I></B>
<TD>Specifies a <I>signal</I> returned by <B>ps -f</B> or <B>killall -l</B>.
</TABLE>
<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>
<DL>
<DD><B>kill
<DD>ps</B>
</DL>
<P><FONT SIZE="+1"><B>listres......<TT>List Resources</TT></B></FONT></P>
<IMG SRC="images/05-10i.jpg"><P><B>listres</B> <I>option(s) widget</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>listres</B> command returns a list of a widget’s resource database. The class in which each resource is first defined, the instance and class name, and the type of each resource is listed. If no specific widgets or the <B>-all</B> option is given, a two-column list of widget names and their class hierarchies is printed.</P><P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="065-070.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="079-086.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -