转载地址:http://www.voidcn.com/article/p-ssqtvtha-bru.html
51. freeramdisk – 释放指定的ramdisk
root@android:/ # busybox-smp freeramdisk --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: freeramdisk DEVICE Free all memory used by the specified ramdisk
52. ftpd – Anonymous FTP server[★★★]
root@android:/ # busybox-smp ftpd --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: ftpd [-wvS] [-t N] [-T N] [DIR] Anonymous FTP server ftpd should be used as an inetd service. ftpd's line for inetd.conf: 21 stream tcp nowait root ftpd ftpd /files/to/serve It also can be ran from tcpsvd: tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve -w Allow upload -v Log errors to stderr. -vv: verbose log -S Log errors to syslog. -SS: verbose log -t,-T Idle and absolute timeouts DIR Change root to this directory
53. ftpget – FTP下载命令[★★]
root@android:/ # busybox-smp ftpget --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: ftpget [OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE Download a file via FTP -c,--continue Continue previous transfer -v,--verbose Verbose -u,--username USER Username -p,--password PASS Password -P,--port NUM Port
54. ftpput – FTP上传命令[★★]
root@android:/ # busybox-smp ftpput --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: ftpput [OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE Upload a file to a FTP server -v,--verbose Verbose -u,--username USER Username -p,--password PASS Password -P,--port NUM Port
55. fuser – 找出文件的占用进程/端口[★]
root@android:/ # busybox-smp fuser --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: fuser [OPTIONS] FILE or PORT/PROTO Find processes which use FILEs or PORTs -m Find processes which use same fs as FILEs -4,-6 Search only IPv4/IPv6 space -s Don't display PIDs -k Kill found processes -SIGNAL Signal to send (default: KILL)
56. getopt – 参数解析命令[★★]
root@android:/ # busybox-smp getopt --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: getopt [OPTIONS] [--] OPTSTRING PARAMS -a,--alternative Allow long options starting with single - -l,--longoptions=LOPT[,...] Long options to be recognized -n,--name=PROGNAME The name under which errors are reported -o,--options=OPTSTRING Short options to be recognized -q,--quiet Disable error reporting by getopt(3) -Q,--quiet-output No normal output -s,--shell=SHELL Set shell quoting conventions -T,--test Test for getopt(1) version -u,--unquoted Don't quote the output Example: O=`getopt -l bb: -- ab:c:: "$@"` || exit 1 eval set -- "$O" while true; do case "$1" in -a) echo A; shift;; -b|--bb) echo "B:'$2'"; shift 2;; -c) case "$2" in "") echo C; shift 2;; *) echo "C:'$2'"; shift 2;; esac;; --) shift; break;; *) echo Error; exit 1;; esac done
57. getty – 终端工具
root@android:/ # busybox-smp getty --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: getty [OPTIONS] BAUD_RATE[,BAUD_RATE]... TTY [TERMTYPE] Open TTY, prompt for login name, then invoke /bin/login -h Enable hardware RTS/CTS flow control -L Set CLOCAL (ignore Carrier Detect state) -m Get baud rate from modem's CONNECT status message -n Don't prompt for login name -w Wait for CR or LF before sending /etc/issue -i Don't display /etc/issue -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue -l LOGIN Invoke LOGIN instead of /bin/login -t SEC Terminate after SEC if no login name is read -I INITSTR Send INITSTR before anything else -H HOST Log HOST into the utmp file as the hostname BAUD_RATE of 0 leaves it unchanged
58. hd – 查看“二进制”文件的十六进制编码
root@android:/ # busybox-smp hd --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: hd FILE... hd is an alias for hexdump -C
59. hdparm – 读取和设置IDE或SCSI硬盘参数
root@android:/ # busybox-smp hdparm --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: hdparm [OPTIONS] [DEVICE] -a Get/set fs readahead -A Set drive read-lookahead flag (0/1) -b Get/set bus state (0 == off, 1 == on, 2 == tristate) -B Set Advanced Power Management setting (1-255) -c Get/set IDE 32-bit IO setting -C Check IDE power mode status -d Get/set using_dma flag -D Enable/disable drive defect-mgmt -f Flush buffer cache for device on exit -g Display drive geometry -h Display terse usage information -i Display drive identification -I Detailed/current information directly from drive -k Get/set keep_settings_over_reset flag (0/1) -K Set drive keep_features_over_reset flag (0/1) -L Set drive doorlock (0/1) (removable harddisks only) -m Get/set multiple sector count -n Get/set ignore-write-errors flag (0/1) -p Set PIO mode on IDE interface chipset (0,1,2,3,4,...) -P Set drive prefetch count -Q Get/set DMA tagged-queuing depth (if supported) -r Get/set readonly flag (DANGEROUS to set) -R Register an IDE interface (DANGEROUS) -S Set standby (spindown) timeout -t Perform device read timings -T Perform cache read timings -u Get/set unmaskirq flag (0/1) -U Unregister an IDE interface (DANGEROUS) -v Defaults; same as -mcudkrag for IDE drives -V Display program version and exit immediately -w Perform device reset (DANGEROUS) -W Set drive write-caching flag (0/1) (DANGEROUS) -x Tristate device for hotswap (0/1) (DANGEROUS) -X Set IDE xfer mode (DANGEROUS) -y Put IDE drive in standby mode -Y Put IDE drive to sleep -Z Disable Seagate auto-powersaving mode -z Reread partition table
60. hostid – 打印主机ID
root@android:/ # busybox-smp hostid --help busybox-smp hostid --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: hostid Print out a unique 32-bit identifier for the machine root@android:/ # busybox-smp hostid 007f0100
61. httpd – 监听HTTP请求
root@android:/ # busybox-smp httpd --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: httpd [-ifv[v]] [-c CONFFILE] [-p [IP:]PORT] [-u USER[:GRP]] [-r REALM] [-h HOME] or httpd -d/-e/-m STRING Listen for incoming HTTP requests -i Inetd mode -f Don't daemonize -v[v] Verbose -p [IP:]PORT Bind to IP:PORT (default *:80) -u USER[:GRP] Set uid/gid after binding to port -r REALM Authentication Realm for Basic Authentication -h HOME Home directory (default .) -c FILE Configuration file (default {/etc,HOME}/httpd.conf) -m STRING MD5 crypt STRING -e STRING HTML encode STRING -d STRING URL decode STRING
62. hush – 终端命令解释器
root@android:/ # busybox-smp hush --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: hush [-nxl] [-c 'SCRIPT' [ARG0 [ARGS]] / FILE [ARGS]] Unix shell interpreter
63. ifdown – 禁用指定的网络接口
root@android:/ # busybox-smp ifdown --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: ifdown [-anmvf] [-i FILE] IFACE... -a De/configure all interfaces automatically -i FILE Use FILE for interface definitions -n Print out what would happen, but don't do it (note: doesn't disable mappings) -m Don't run any mappings -v Print out what would happen before doing it -f Force de/configuration
64. ifenslave – 负载均衡工具
root@android:/ # busybox-smp ifenslave --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: ifenslave [-cdf] MASTER_IFACE SLAVE_IFACE... Configure network interfaces for parallel routing -c,--change-active Change active slave -d,--detach Remove slave interface from bonding device -f,--force Force, even if interface is not Ethernet
65. ifplugd – 网口插入监测[★]
root@android:/ # busybox-smp ifplugd --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: ifplugd [OPTIONS] Network interface plug detection daemon -n Don't daemonize -s Don't log to syslog -i IFACE Interface -f/-F Treat link detection error as link down/link up (otherwise exit on error) -a Don't up interface at each link probe -M Monitor creation/destruction of interface (otherwise it must exist) -r PROG Script to run -x ARG Extra argument for script -I Don't exit on nonzero exit code from script -p Don't run script on daemon startup -q Don't run script on daemon quit -l Run script on startup even if no cable is detected -t SECS Poll time in seconds -u SECS Delay before running script after link up -d SECS Delay after link down -m MODE API mode (mii, priv, ethtool, wlan, iff, auto) -k Kill running daemon
66. ionice – 修改IO的优先级和分类
root@android:/ # busybox-smp ionice --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: ionice [-c 1-3] [-n 0-7] [-p PID] [PROG] Change I/O priority and class -c Class. 1:realtime 2:best-effort 3:idle -n Priority
67. ip – IP配置命令
root@android:/ # busybox-smp ip --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: ip [OPTIONS] {address | route | link | tunnel | rule} {COMMAND} ip [OPTIONS] OBJECT {COMMAND} where OBJECT := {address | route | link | tunnel | rule} OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }
68. kbd_mode – 查询/设置键盘模式
root@android:/ # busybox-smp kbd_mode --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: kbd_mode [-a|k|s|u] [-C TTY] Report or set the keyboard mode -a Default (ASCII) -k Medium-raw (keyboard) -s Raw (scancode) -u Unicode (utf-8) -C TTY Affect TTY instead of /dev/tty
69. killall5 – 发送信号给其他所有的进程[★]
root@android:/ # busybox-smp killall5 --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: killall5 [-l] [-SIG] [-o PID]... Send a signal (default: TERM) to all processes outside current session -l List all signal names and numbers -o PID Don't signal this PID
70. klogd – 内核日志记录[★]
root@android:/ # busybox-smp klogd --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: klogd [-c N] [-n] Kernel logger -c N Print to console messages more urgent than prio N (1-8) -n Run in foreground
71. last – 列出最新登陆系统的账户[★]
root@android:/ # busybox-smp last --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: last [-HW] [-f FILE] Show listing of the last users that logged into the system -W Display with no host column truncation -f FILE Read from FILE instead of /var/log/wtmp
72. linux32 – 设置系统架构
root@android:/ # busybox-smp linux32 --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. No help available. root@android:/ # busybox-smp linux64 --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. No help available.
73. linuxrc –
root@android:/ # busybox-smp linuxrc --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. No help available.
74. loadfont – 设置console新字体
root@android:/ # busybox-smp loadfont --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: loadfont < font Load a console font from stdin
75. loadkmap – 载入新键盘映射表
root@android:/ # busybox-smp loadkmap --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: loadkmap < keymap Load a binary keyboard translation table from stdin
76. losetup – 把文件虚拟成块设备
root@android:/ # busybox-smp losetup --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: losetup [-r] [-o OFS] LOOPDEV FILE - associate loop devices losetup -d LOOPDEV - disassociate losetup [-f] - show -o OFS Start OFS bytes into FILE -r Read-only -f Show first free loop device
77. lpd – 常驻的打印机管理程
root@android:/ # busybox-smp lpd --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: lpd SPOOLDIR [HELPER [ARGS]] SPOOLDIR must contain (symlinks to) device nodes or directories with names matching print queue names. In the first case, jobs are sent directly to the device. Otherwise each job is stored in queue directory and HELPER program is called. Name of file to print is passed in $DATAFILE variable. Example: tcpsvd -E 0 515 softlimit -m 999999 lpd /var/spool ./print
78. lpr – 文件打印
root@android:/ # busybox-smp lpr --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: lpr -P queue[@host[:port]] -U USERNAME -J TITLE -Vmh [FILE]... -P lp service to connect to (else uses $PRINTER) -m Send mail on completion -h Print banner page too -V Verbose
79. lsof – 显示打开的文件[★]
root@android:/ # busybox-smp lsof --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: lsof Show all open files
80. lzcat – 解压文件
root@android:/ # busybox-smp lzcat --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: lzcat FILE Decompress to stdout
81. lzma – 解压文件
root@android:/ # busybox-smp lzma --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: lzma -d [-cf] [FILE]... Decompress FILE (or stdin) -d Decompress -c Write to stdout -f Force
82. lzop – 解压缩文件
root@android:/ # busybox-smp lzop --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: lzop [-cfvd123456789CF] [FILE]... -1..9 Compression level -d Decompress -c Write to stdout -f Force -v Verbose -F Don't store or verify checksum -C Also write checksum of compressed block
83. lzopcat – 解压缩
root@android:/ # busybox-smp lzopcat --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: lzopcat [-vCF] [FILE]... -v Verbose -F Don't store or verify checksum
84. makedevs – 创建设备文件
root@android:/ # busybox-smp makedevs --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: makedevs [-d device_table] rootdir Create a range of special files as specified in a device table. Device table entries take the form of: <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count> Where name is the file name, type can be one of: f Regular file d Directory c Character device b Block device p Fifo (named pipe) uid is the user id for the target file, gid is the group id for the target file. The rest of the entries (major, minor, etc) apply to to device special files. A '-' may be used for blank entries.
85. mesg – 设置当前终端的写权限
root@android:/ # busybox-smp mesg --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: mesg [y|n] Control write access to your terminal y Allow write access to your terminal n Disallow write access to your terminal
86. microcom – 串口工具
root@android:/ # busybox-smp microcom --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: microcom [-d DELAY] [-t TIMEOUT] [-s SPEED] [-X] TTY Copy bytes for stdin to TTY and from TTY to stdout -d Wait up to DELAY ms for TTY output before sending every next byte to it -t Exit if both stdin and TTY are silent for TIMEOUT ms -s Set serial line to SPEED -X Disable special meaning of NUL and Ctrl-X from stdin
87. mkpasswd – 密钥生成
root@android:/ # busybox-smp mkpasswd --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: mkpasswd [OPTIONS] [PASSWORD] [SALT] Crypt PASSWORD using crypt(3) -P,--password-fd=N Read password from fd N -m,--method=TYPE Encryption method -S,--salt=SALT
88. modinfo – 模块信息[★★]
root@android:/ # busybox-smp modinfo --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: modinfo [-adlp0] [-F keyword] MODULE -a Shortcut for '-F author' -d Shortcut for '-F description' -l Shortcut for '-F license' -p Shortcut for '-F parm' -F keyword Keyword to look for -0 Separate output with NULs
89. mpstat – 显示各个可用CPU的状态
root@android:/ # busybox-smp mpstat --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: mpstat [-A] [-I SUM|CPU|ALL|SCPU] [-u] [-P num|ALL] [INTERVAL [COUNT]] Per-processor statistics -A Same as -I ALL -u -P ALL -I SUM|CPU|ALL|SCPU Report interrupt statistics -P num|ALL Processor to monitor -u Report CPU utilization
90. mt – 磁带机的操作命令
root@android:/ # busybox-smp mt --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: mt [-f device] opcode value Control magnetic tape drive operation Available Opcodes: bsf bsfm bsr bss datacompression drvbuffer eof eom erase fsf fsfm fsr fss load lock mkpart nop offline ras1 ras2 ras3 reset retension rewind rewoffline seek setblk setdensity setpart tell unload unlock weof wset
91. nameif – 重命名网络接口
root@android:/ # busybox-smp nameif --help busybox-smp nameif --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: nameif [-s] [-c FILE] [IFNAME SELECTOR]... Rename network interface while it in the down state. The device matched by SELECTOR is renamed to IFACE. SELECTOR can be a combination of: driver=STRING bus=STRING phy_address=NUM [mac=]XX:XX:XX:XX:XX:XX -c FILE Configuration file (default: /etc/mactab) -s Log to syslog
92. nanddump – Dump the specified MTD device
root@android:/ # busybox-smp nanddump --helpv BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: nanddump [-o] [-b] [-s ADDR] [-f FILE] MTD_DEVICE Dump the specified MTD device -o Omit oob data -b Omit bad block from the dump -s ADDR Start address -l LEN Length -f FILE Dump to file ('-' for stdout)
93. nbd-client – 网络磁盘映射
// https://wenku.baidu.com/view/f2d861d2b9f3f90f76c61bda.html root@android:/ # busybox-smp nbd-client --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: nbd-client HOST PORT BLOCKDEV Connect to HOST and provide a network block device on BLOCKDEV
94. nc – netcat传文件
// http://man.linuxde.net/nc_netcat // https://www.cnblogs.com/nmap/p/6148306.html root@android:/ # busybox-smp nc --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG] Open a pipe to IP:PORT or FILE -e PROG Run PROG after connect -l Listen mode, for inbound connects (use -l twice with -e for persistent server) -p PORT Local port -w SEC Timeout for connect -i SEC Delay interval for lines sent -f FILE Use file (ala /dev/ttyS0) instead of network
95. nice – 修改调度优先级
root@android:/ # busybox-smp nice --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: nice [-n ADJUST] [PROG ARGS] Change scheduling priority, run PROG -n ADJUST Adjust priority by ADJUST
96. nmeter – 实时监测系统[★★]
root@android:/ # busybox-smp nmeter --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: nmeter [-d MSEC] FORMAT_STRING Monitor system in real time -d MSEC Milliseconds between updates (default:1000) Format specifiers: %Nc or %[cN] CPU. N - bar size (default:10) (displays: S:system U:user N:niced D:iowait I:irq i:softirq) %[nINTERFACE] Network INTERFACE %m Allocated memory %[mf] Free memory %[mt] Total memory %s Allocated swap %f Number of used file descriptors %Ni Total/specific IRQ rate %x Context switch rate %p Forks %[pn] # of processes %b Block io %Nt Time (with N decimal points) %r Print <cr> instead of <lf> at EOL
97. nohup – 将程序以忽略挂起信号的方式运行
root@android:/ # busybox-smp nohup --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: nohup PROG ARGS Run PROG immune to hangups, with output to a non-tty
98. nslookup – 域名查询
root@android:/ # busybox-smp nslookup --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: nslookup [HOST] [SERVER] Query the nameserver for the IP address of the given HOST optionally using a specified DNS server
99. ntpd – Network Time Protocol [★]
root@android:/ # busybox-smp ntpd --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: ntpd [-dnqNwl] [-S PROG] [-p PEER]... NTP client/server -d Verbose -n Do not daemonize -q Quit after clock is set -N Run at high priority -w Do not set time (only query peers), implies -n -l Run as server on port 123 -S PROG Run PROG after stepping time, stratum change, and every 11 mins -p PEER Obtain time from PEER (may be repeated)
100. od – 输出文件的八进制、十六进制或其它格式编码的字节
root@android:/ # busybox-smp od --help BusyBox v1.20.0 (2012-08-22 21:36:24 CDT) multi-call binary. Usage: od [-abcdfhilovxs] [-t TYPE] [-A RADIX] [-N SIZE] [-j SKIP] [-S MINSTR] [-w WIDTH] [FILE...] Print FILEs (or stdin) unambiguously, as octal bytes by default