查看帮助信息(help)
命令功能
help命令用于查看帮助信息,也可以查看某条命令的具体使用方法。
命令格式
help
[command] --help
参数说明
参数 |
说明 |
取值 |
---|---|---|
command |
具体命令 |
- |
使用指南
无
使用实例
- 示例1:固件版本为20.0.1.030及之后版本,获取当前路径下支持的命令。
IES:/->help Commands: help : Used to get context sensitive help. exit : Used to terminate the cli session. timeout : Used to set timeout limit to login shell. ping : Used to test IPv4 network status. ifconfig : Used to check network device information. ps : Used to check processes status. free : Used to check memory status. top : Used to check system resource used information. None parameter is allowed df : Used to check disk used information. route : Used to check route information. None parameter is allowed netstat : Used to check network port status. date : Used to get date info. meminfo : Used to cat /proc/meminfo. cpustat : Used to cat /proc/stat. fdisk : Used to disk info. sftp : Used to on/off sftp. with parameter enable or disable. develop : Switch to development mode. npu-smi : Used to npu-smi tool.
- 示例2:获取ping命令的具体使用方法。
IES:/->ping --help BusyBox v1.18.4 (2014-08-09 16:28:25 CST) multi-call binary. Usage: ping [OPTIONS] HOST Send ICMP ECHO_REQUEST packets to network hosts Options: -4,-6 Force IP name resolution -c CNT Send only CNT pings -s SIZE Send SIZE data bytes in packets (default:56) -I IFACE/IP Use interface or IP address as source -W SEC Seconds to wait for the first response (default:10) (after all -c CNT packets are sent) -w SEC Seconds until ping exits (default:infinite) (can exit earlier with -c CNT) -q Quiet, only displays output at start and when finished