📄 help-command.html
字号:
<!-- Copyright (C) 2003 Red Hat, Inc. --><!-- This material may be distributed only subject to the terms --><!-- and conditions set forth in the Open Publication License, v1.0 --><!-- or later (the latest version is presently available at --><!-- http://www.opencontent.org/openpub/). --><!-- Distribution of the work or derivative of the work in any --><!-- standard (paper) book form is prohibited unless prior --><!-- permission is obtained from the copyright holder. --><HTML><HEAD><TITLE>help</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos Reference Manual"HREF="ecos-ref.html"><LINKREL="UP"TITLE="Common Commands"HREF="common-commands.html"><LINKREL="PREVIOUS"TITLE="dump"HREF="dump-command.html"><LINKREL="NEXT"TITLE="ip_address"HREF="ip-address-command.html"></HEAD><BODYCLASS="REFENTRY"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos Reference Manual</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="dump-command.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom"></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="ip-address-command.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="HELP-COMMAND">help</H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN3316"></A><H2>Name</H2>help -- Display help on available commands</DIV><DIVCLASS="REFSYNOPSISDIV"><ANAME="AEN3319"><H2>Synopsis</H2><P><BCLASS="COMMAND">help</B> [<TTCLASS="REPLACEABLE"><I> topic</I></TT>]</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN3324"></A><H2>Arguments</H2><DIVCLASS="INFORMALTABLE"><ANAME="AEN3326"><P></P><TABLEBORDER="1"CLASS="CALSTABLE"><THEAD><TR><THWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">Name</TH><THWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">Type</TH><THWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">Description</TH><THWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">Default</TH></TR></THEAD><TBODY><TR><TDWIDTH="25%"ALIGN="LEFT"VALIGN="TOP"><TTCLASS="REPLACEABLE"><I>topic</I></TT></TD><TDWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">String</TD><TDWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">Which command to provide help for.</TD><TDWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">All commands</TD></TR></TBODY></TABLE><P></P></DIV></DIV><DIVCLASS="REFSECT1"><ANAME="AEN3345"></A><H2>Description</H2><P>The <BCLASS="COMMAND">help</B> command displays information about the availableRedBoot commands. If a <SPANCLASS="emphasis"><ICLASS="EMPHASIS">topic</I></SPAN> is given, then the displayis restricted to information about that specific command. </P><P>If the command has sub-commands, e.g. <BCLASS="COMMAND">fis</B>, then the topicspecific display will print additional information about the available sub-commands.special (ICMP) packets to a specific host. These packets should be automaticallyreturned by that host. The command will indicate how many of these round-tripswere successfully completed. </P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN3352"></A><H2>Examples</H2><P>Show generic help. Note that the contents of this display will depend on the various configurationoptions for RedBoot when it was built.<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">RedBoot> <TTCLASS="USERINPUT"><B>help</B></TT>Manage aliases kept in FLASH memory alias name [value]Manage machine caches cache [ON | OFF]Display/switch console channel channel [-1|<channel number>]Compute a 32bit checksum [POSIX algorithm] for a range of memory cksum -b <location> -l <length>Display (hex dump) a range of memory dump -b <location> [-l <length>] [-s] [-1|2|4]Manage FLASH images fis {cmds}Manage configuration kept in FLASH memory fconfig [-i] [-l] [-n] [-f] [-d] | [-d] nickname [value]Execute code at a location go [-w <timeout>] [entry]Help about help? help [<topic>]Set/change IP addresses ip_address [-l <local_ip_address>] [-h <server_address>]Load a file load [-r] [-v] [-d] [-h <host>] [-m {TFTP | HTTP | {x|y}MODEM -c <channel_number>}] [-b <base_address>] <file_name>Compare two blocks of memory mcmp -s <location> -d <location> -l <length> [-1|-2|-4]Fill a block of memory with a pattern mfill -b <location> -l <length> -p <pattern> [-1|-2|-4]Network connectivity test ping [-v] [-n <count>] [-l <length>] [-t <timeout>] [-r <rate>] [-i <IP_addr>] -h <IP_addr>Reset the system reset Display RedBoot version information version Display (hex dump) a range of memory x -b <location> [-l <length>] [-s] [-1|2|4]</PRE></TD></TR></TABLE> </P><P>Help about a command with sub-commands.<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">RedBoot> <TTCLASS="USERINPUT"><B>help fis</B></TT>Manage FLASH images fis {cmds}Create an image fis create -b <mem_base> -l <image_length> [-s <data_length>] [-f <flash_addr>] [-e <entry_point>] [-r <ram_addr>] [-n] <name>Display an image from FLASH Image System [FIS] fis delete nameErase FLASH contents fis erase -f <flash_addr> -l <length>Display free [available] locations within FLASH Image System [FIS] fis free Initialize FLASH Image System [FIS] fis init [-f]Display contents of FLASH Image System [FIS] fis list [-c] [-d]Load image from FLASH Image System [FIS] into RAM fis load [-d] [-b <memory_load_address>] [-c] nameWrite raw data directly to FLASH fis write -f <flash_addr> -b <mem_base> -l <image_length></PRE></TD></TR></TABLE> </P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="dump-command.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-ref.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="ip-address-command.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">dump</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="common-commands.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">ip_address</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -