Changeset 17633 for src/router/busybox/docs/BusyBox.txt
- Timestamp:
- 09/18/11 21:30:11 (20 months ago)
- File:
-
- 1 edited
-
src/router/busybox/docs/BusyBox.txt (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/router/busybox/docs/BusyBox.txt
r17628 r17633 77 77 Currently available applets include: 78 78 79 [, [[, adjtimex, arp, arping, ash, awk, basename, bash, bunzip2, 80 bzcat, cat, chattr, chgrp, chmod, chown, chroot, clear, cmp, cp, 81 cut, date, dc, dd, df, dirname, dmesg, dnsdomainname, du, echo, 82 egrep, env, expr, false, fdisk, fgrep, find, free, fsck, ftpget, 83 ftpput, getopt, grep, gunzip, gzip, halt, head, hexdump, hostname, 84 hwclock, id, ifconfig, ifdown, ifup, insmod, install, kill, killall, 85 klogd, less, ln, logger, login, logread, ls, lsattr, lsmod, lsusb, 86 lzcat, md5sum, mesg, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, 87 mkfs.vfat, mknod, more, mount, mv, nameif, nc, netstat, nice, nohup, 88 nslookup, pidof, ping, ping6, pivot_root, poweroff, printenv, 89 printf, ps, pwd, reboot, renice, reset, rm, rmdir, rmmod, route, 90 run-parts, rx, sed, sendmail, sh, sha1sum, sleep, sort, strings, 91 stty, sync, sysctl, syslogd, tail, tar, tee, telnet, telnetd, test, 92 tftp, time, top, touch, tr, traceroute, traceroute6, true, tty, 93 tune2fs, umount, uname, uniq, unlzma, uptime, usleep, uudecode, 94 uuencode, vconfig, vi, watch, wc, wget, which, whoami, xargs, yes, 95 zcat 79 [, [[, adjtimex, arp, arping, ash, awk, basename, bash, cat, chgrp, 80 chmod, chown, chroot, clear, cmp, cp, cut, date, dc, dd, df, 81 dirname, dmesg, dnsdomainname, du, echo, egrep, env, expr, false, 82 fgrep, find, free, ftpget, ftpput, getopt, grep, gunzip, gzip, halt, 83 head, hexdump, hostname, id, ifconfig, ifdown, ifup, insmod, 84 install, kill, killall, klogd, less, ln, logger, login, logread, ls, 85 lsmod, md5sum, mesg, mkdir, mke2fs, mkfifo, mkfs.ext2, more, mount, 86 mv, nameif, nc, netstat, nohup, nslookup, pidof, ping, pivot_root, 87 poweroff, printf, ps, pwd, reboot, reset, rm, rmdir, rmmod, route, 88 run-parts, rx, sed, sendmail, sh, sleep, sort, strings, stty, sync, 89 syslogd, tail, tar, tee, telnet, telnetd, test, time, top, touch, 90 tr, traceroute, true, tty, umount, uname, uniq, uptime, usleep, 91 uudecode, uuencode, vconfig, vi, watch, wc, wget, which, whoami, 92 xargs, yes, zcat 96 93 97 94 COMMAND DESCRIPTIONS 98 95 adjtimex 99 96 adjtimex [-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK] 100 101 Read and optionally set system timebase parameters. See adjtimex(2)102 103 -q Quiet104 -o OFF Time offset, microseconds105 -f FREQ Frequency adjust, integer kernel units (65536 is 1ppm)106 (positive values make clock run faster)107 -t TICK Microseconds per tick, usually 10000108 -p TCONST109 97 110 98 arp arp [-vn] [-H HWTYPE] [-i IF] -a [HOSTNAME] [-v] [-i IF] -d HOSTNAME … … 113 101 HWTYPE] [-i IF] -Ds HOSTNAME IFACE [netmask MASK] pub 114 102 115 Manipulate ARP cache116 117 -a Display (all) hosts118 -s Set new ARP entry119 -d Delete a specified entry120 -v Verbose121 -n Don't resolve names122 -i IF Network interface123 -D Read <hwaddr> from given device124 -A,-p AF Protocol family125 -H HWTYPE Hardware address type126 127 103 arping 128 104 arping [-fqbDUA] [-c CNT] [-w TIMEOUT] [-I IFACE] [-s SRC_IP] DST_IP 129 105 130 Send ARP requests/replies131 132 -f Quit on first ARP reply133 -q Quiet134 -b Keep broadcasting, don't go unicast135 -D Duplicated address detection mode136 -U Unsolicited ARP mode, update your neighbors137 -A ARP answer mode, update your neighbors138 -c N Stop after sending N ARP requests139 -w TIMEOUT Time to wait for ARP reply, seconds140 -I IFACE Interface to use (default eth0)141 -s SRC_IP Sender IP address142 DST_IP Target IP address143 144 106 ash ash [-/+OPTIONS] [-/+o OPT]... [-c 'SCRIPT' [ARG0 [ARGS]] / FILE 145 107 [ARGS]] 146 108 147 Unix shell interpreter148 149 109 awk awk [OPTIONS] [AWK_PROGRAM] [FILE]... 150 151 -v VAR=VAL Set variable152 -F SEP Use SEP as field separator153 -f FILE Read program from FILE154 110 155 111 basename 156 112 basename FILE [SUFFIX] 157 158 Strip directory path and .SUFFIX from FILE159 113 160 114 bash … … 162 116 [ARGS]] 163 117 164 Unix shell interpreter165 166 bunzip2167 bunzip2 [-cf] [FILE]...168 169 Decompress FILEs (or stdin)170 171 -c Write to stdout172 -f Force173 174 bzcat175 bzcat FILE176 177 Decompress to stdout178 179 118 cat cat [FILE]... 180 181 Concatenate FILEs and print them to stdout182 183 chattr184 chattr [-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]...185 186 Change file attributes on an ext2 fs187 188 Modifiers:189 190 - Remove attributes191 + Add attributes192 = Set attributes193 Attributes:194 195 A Don't track atime196 a Append mode only197 c Enable compress198 D Write dir contents synchronously199 d Don't backup with dump200 i Cannot be modified (immutable)201 j Write all data to journal first202 s Zero disk storage when deleted203 S Write file contents synchronously204 t Disable tail-merging of partial blocks with other files205 u Allow file to be undeleted206 -R Recurse207 -v Set the file's version/generation number208 119 209 120 chgrp 210 121 chgrp [-RhLHP]... GROUP FILE... 211 122 212 Change the group membership of each FILE to GROUP213 214 -R Recurse215 -h Affect symlinks instead of symlink targets216 -L Traverse all symlinks to directories217 -H Traverse symlinks on command line only218 -P Don't traverse symlinks (default)219 220 123 chmod 221 124 chmod [-R] MODE[,MODE]... FILE... 222 125 223 Each MODE is one or more of the letters ugoa, one of the symbols +-=224 and one or more of the letters rwxst225 226 -R Recurse227 228 126 chown 229 127 chown [-RhLHP]... OWNER[<.|:>[GROUP]] FILE... 230 128 231 Change the owner and/or group of each FILE to OWNER and/or GROUP232 233 -R Recurse234 -h Affect symlinks instead of symlink targets235 -L Traverse all symlinks to directories236 -H Traverse symlinks on command line only237 -P Don't traverse symlinks (default)238 239 129 chroot 240 130 chroot NEWROOT [PROG ARGS] 241 131 242 Run PROG with root directory set to NEWROOT243 244 132 clear 245 133 clear 246 134 247 Clear screen248 249 135 cmp cmp [-l] [-s] FILE1 [FILE2] 250 136 251 Compare FILE1 with FILE2 (or stdin)252 253 -l Write the byte numbers (decimal) and values (octal)254 for all differing bytes255 -s Quiet256 257 137 cp cp [OPTIONS] SOURCE DEST 258 138 259 Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY260 261 -a Same as -dpR262 -R,-r Recurse263 -d,-P Preserve symlinks (default if -R)264 -L Follow all symlinks265 -H Follow symlinks on command line266 -p Preserve file attributes if possible267 -f Overwrite268 -i Prompt before overwrite269 -l,-s Create (sym)links270 271 139 cut cut [OPTIONS] [FILE]... 272 273 Print selected fields from each input FILE to stdout274 275 -b LIST Output only bytes from LIST276 -c LIST Output only characters from LIST277 -d CHAR Use CHAR instead of tab as the field delimiter278 -s Output only the lines containing delimiter279 -f N Print only these fields280 -n Ignored281 140 282 141 date 283 142 date [OPTIONS] [+FMT] [TIME] 284 143 285 Display time (using +FMT), or set time286 287 [-s] TIME Set time to TIME288 -u Work in UTC (don't convert to local time)289 -R Output RFC-2822 compliant date string290 -I[SPEC] Output ISO-8601 compliant date string291 SPEC='date' (default) for date only,292 'hours', 'minutes', or 'seconds' for date and293 time to the indicated precision294 -r FILE Display last modification time of FILE295 -d TIME Display TIME, not 'now'296 -D FMT Use FMT for -d TIME conversion297 298 Recognized TIME formats:299 300 hh:mm[:ss]301 [YYYY.]MM.DD-hh:mm[:ss]302 YYYY-MM-DD hh:mm[:ss]303 [[[[[YY]YY]MM]DD]hh]mm[.ss]304 305 144 dc dc EXPRESSION... 306 145 307 Tiny RPN calculator. Operations: +, add, -, sub, *, mul, /, div, %, 308 mod, and, or, not, eor, p - print top of the stack (without 309 popping), f - print entire stack, o - pop the value and set output 310 radix (must be 10, 16, 8 or 2). Examples: 'dc 2 2 add p' -> 4, 'dc 8 311 8 * 2 2 + / p' -> 16 312 313 dd dd [if=FILE] [of=FILE] [ibs=N] [obs=N] [bs=N] [count=N] [skip=N] 314 [seek=N] [conv=notrunc|noerror|sync|fsync] 315 316 Copy a file with converting and formatting 317 318 if=FILE Read from FILE instead of stdin 319 of=FILE Write to FILE instead of stdout 320 bs=N Read and write N bytes at a time 321 ibs=N Read N bytes at a time 322 obs=N Write N bytes at a time 323 count=N Copy only N input blocks 324 skip=N Skip N input blocks 325 seek=N Skip N output blocks 326 conv=notrunc Don't truncate output file 327 conv=noerror Continue after read errors 328 conv=sync Pad blocks with zeros 329 conv=fsync Physically write data out before finishing 330 331 Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k 332 (x1024), MD (x1000000), M (x1048576), GD (x1000000000) or G 333 (x1073741824) 146 dd dd [if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N] 334 147 335 148 df df [-Pkmhai] [-B SIZE] [FILESYSTEM]... 336 337 Print filesystem usage statistics338 339 -P POSIX output format340 -k 1024-byte blocks (default)341 -m 1M-byte blocks342 -h Human readable (e.g. 1K 243M 2G)343 -a Show all filesystems344 -i Inodes345 -B SIZE Blocksize346 149 347 150 dirname 348 151 dirname FILENAME 349 152 350 Strip non-directory suffix from FILENAME351 352 153 dmesg 353 154 dmesg [-c] [-n LEVEL] [-s SIZE] 354 155 355 Print or control the kernel ring buffer356 357 -c Clear ring buffer after printing358 -n LEVEL Set console logging level359 -s SIZE Buffer size360 361 156 du du [-aHLdclsxhmk] [FILE]... 362 363 Summarize disk space used for each FILE and/or directory. Disk space364 is printed in units of 1024 bytes.365 366 -a Show file sizes too367 -L Follow all symlinks368 -H Follow symlinks on command line369 -d N Limit output to directories (and files with -a) of depth < N370 -c Show grand total371 -l Count sizes many times if hard linked372 -s Display only a total for each argument373 -x Skip directories on different filesystems374 -h Sizes in human readable format (e.g., 1K 243M 2G )375 -m Sizes in megabytes376 -k Sizes in kilobytes (default)377 157 378 158 echo 379 159 echo [-neE] [ARG]... 380 160 381 Print the specified ARGs to stdout382 383 -n Suppress trailing newline384 -e Interpret backslash escapes (i.e., \t=tab)385 -E Don't interpret backslash escapes (default)386 387 161 env env [-iu] [-] [name=value]... [PROG ARGS] 388 389 Print the current environment or run PROG after setting up the390 specified environment391 392 -, -i Start with an empty environment393 -u Remove variable from the environment394 162 395 163 expr 396 164 expr EXPRESSION 397 165 398 Print the value of EXPRESSION to stdout399 400 EXPRESSION may be:401 402 ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2403 ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0404 ARG1 < ARG2 1 if ARG1 is less than ARG2, else 0. Similarly:405 ARG1 <= ARG2406 ARG1 = ARG2407 ARG1 != ARG2408 ARG1 >= ARG2409 ARG1 > ARG2410 ARG1 + ARG2 Sum of ARG1 and ARG2. Similarly:411 ARG1 - ARG2412 ARG1 * ARG2413 ARG1 / ARG2414 ARG1 % ARG2415 STRING : REGEXP Anchored pattern match of REGEXP in STRING416 match STRING REGEXP Same as STRING : REGEXP417 substr STRING POS LENGTH Substring of STRING, POS counted from 1418 index STRING CHARS Index in STRING where any CHARS is found, or 0419 length STRING Length of STRING420 quote TOKEN Interpret TOKEN as a string, even if421 it is a keyword like 'match' or an422 operator like '/'423 (EXPRESSION) Value of EXPRESSION424 425 Beware that many operators need to be escaped or quoted for shells.426 Comparisons are arithmetic if both ARGs are numbers, else427 lexicographical. Pattern matches return the string matched between428 \( and \) or null; if \( and \) are not used, they return the number429 of characters matched or 0.430 431 166 false 432 167 false 433 168 434 Return an exit code of FALSE (1)435 436 fdisk437 fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK438 439 Change partition table440 441 -u Start and End are in sectors (instead of cylinders)442 -l Show partition table for each DISK, then exit443 -b 2048 (for certain MO disks) use 2048-byte sectors444 -C CYLINDERS Set number of cylinders/heads/sectors445 -H HEADS446 -S SECTORS447 448 169 find 449 170 find [PATH]... [OPTIONS] [ACTIONS] 450 171 451 Search for files and perform actions on them. First failed action452 stops processing of current file. Defaults: PATH is current453 directory, action is '-print'454 455 -follow Follow symlinks456 -xdev Don't descend directories on other filesystems457 458 Actions:459 460 ACT1 [-a] ACT2 If ACT1 fails, stop, else do ACT2461 ACT1 -o ACT2 If ACT1 succeeds, stop, else do ACT2462 Note: -a has higher priority than -o463 -name PATTERN Match file name (w/o directory name) to PATTERN464 -iname PATTERN Case insensitive -name465 -type X File type is X (one of: f,d,l,b,c,...)466 -perm MASK At least one mask bit (+MASK), all bits (-MASK),467 or exactly MASK bits are set in file's mode468 -mtime DAYS mtime is greater than (+N), less than (-N),469 or exactly N days in the past470 -newer FILE mtime is more recent than FILE's471 -inum N File has inode number N472 If none of the following actions is specified, -print is assumed473 -print Print file name474 -print0 Print file name, NUL terminated475 -exec CMD ARG ; Run CMD with all instances of {} replaced by476 file name. Fails if CMD exits with nonzero477 478 172 free 479 173 free 480 174 481 Display the amount of free and used system memory482 483 fsck484 fsck [-ANPRTV] [-C FD] [-t FSTYPE] [FS_OPTS] [BLOCKDEV]...485 486 Check and repair filesystems487 488 -A Walk /etc/fstab and check all filesystems489 -N Don't execute, just show what would be done490 -P With -A, check filesystems in parallel491 -R With -A, skip the root filesystem492 -T Don't show title on startup493 -V Verbose494 -C n Write status information to specified filedescriptor495 -t TYPE List of filesystem types to check496 497 175 ftpget 498 176 ftpget [OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE 499 177 500 Retrieve a remote file via FTP501 502 -c Continue previous transfer503 -v Verbose504 -u Username505 -p Password506 -P Port number507 508 178 ftpput 509 179 ftpput [OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE 510 180 511 Store a local file on a remote machine via FTP512 513 -v Verbose514 -u Username515 -p Password516 -P Port number517 518 181 getopt 519 182 getopt [OPTIONS] 520 521 -a Allow long options starting with single -522 -l longopts Long options to be recognized523 -n progname The name under which errors are reported524 -o optstring Short options to be recognized525 -q Disable error reporting by getopt(3)526 -Q No normal output527 -s shell Set shell quoting conventions528 -T Test for getopt(1) version529 -u Don't quote the output530 183 531 184 grep … … 533 186 FILE [FILE]... 534 187 535 Search for PATTERN in FILEs (or stdin)536 537 -H Add 'filename:' prefix538 -h Do not add 'filename:' prefix539 -n Add 'line_no:' prefix540 -l Show only names of files that match541 -L Show only names of files that don't match542 -c Show only count of matching lines543 -o Show only the matching part of line544 -q Quiet. Return 0 if PATTERN is found, 1 otherwise545 -v Select non-matching lines546 -s Suppress open and read errors547 -r Recurse548 -i Ignore case549 -w Match whole words only550 -F PATTERN is a literal (not regexp)551 -E PATTERN is an extended regexp552 -m N Match up to N times per file553 -A N Print N lines of trailing context554 -B N Print N lines of leading context555 -C N Same as '-A N -B N'556 -e PTRN Pattern to match557 -f FILE Read pattern from file558 559 188 gunzip 560 189 gunzip [-cft] [FILE]... 561 190 562 Decompress FILEs (or stdin)563 564 -c Write to stdout565 -f Force566 -t Test file integrity567 568 191 gzip 569 192 gzip [-cfd] [FILE]... 570 193 571 Compress FILEs (or stdin)572 573 -d Decompress574 -c Write to stdout575 -f Force576 577 194 halt 578 195 halt [-d DELAY] [-n] [-f] 579 196 580 Halt the system581 582 -d SEC Delay interval583 -n Do not sync584 -f Force (don't go through init)585 586 197 head 587 198 head [OPTIONS] [FILE]... 588 199 589 Print first 10 lines of each FILE (or stdin) to stdout. With more590 than one FILE, precede each with a filename header.591 592 -n N[kbm] Print first N lines593 -c N[kbm] Print first N bytes594 -q Never print headers595 -v Always print headers596 597 N may be suffixed by k (x1024), b (x512), or m (x1024^2).598 599 200 hexdump 600 201 hexdump [-bcCdefnosvx] [FILE]... 601 202 602 Display FILEs (or stdin) in a user specified format603 604 -b One-byte octal display605 -c One-byte character display606 -C Canonical hex+ASCII, 16 bytes per line607 -d Two-byte decimal display608 -e FORMAT_STRING609 -f FORMAT_FILE610 -n LENGTH Interpret only LENGTH bytes of input611 -o Two-byte octal display612 -s OFFSET Skip OFFSET bytes613 -v Display all input data614 -x Two-byte hexadecimal display615 616 203 hostname 617 204 hostname [OPTIONS] [HOSTNAME | -F FILE] 618 205 619 Get or set hostname or DNS domain name620 621 -s Short622 -i Addresses for the hostname623 -d DNS domain name624 -f Fully qualified domain name625 -F FILE Use FILE's content as hostname626 627 hwclock628 hwclock [-r] [-s] [-w] [-t] [-l] [-u] [-f FILE]629 630 Query and set hardware clock (RTC)631 632 -r Show hardware clock time633 -s Set system time from hardware clock634 -w Set hardware clock from system time635 -t Set in-kernel timezone, correct system time636 if hardware clock is in local time637 -u Assume hardware clock is kept in UTC638 -l Assume hardware clock is kept in local time639 -f FILE Use specified device (e.g. /dev/rtc2)640 641 206 id id [OPTIONS] [USER] 642 643 Print information about USER or the current user644 645 -u User ID646 -g Group ID647 -G Supplementary group IDs648 -n Print names instead of numbers649 -r Print real ID instead of effective ID650 207 651 208 ifconfig 652 209 ifconfig [-a] interface [address] 653 210 654 Configure a network interface655 656 [add ADDRESS[/PREFIXLEN]]657 [del ADDRESS[/PREFIXLEN]]658 [[-]broadcast [ADDRESS]] [[-]pointopoint [ADDRESS]]659 [netmask ADDRESS] [dstaddr ADDRESS]660 [outfill NN] [keepalive NN]661 [hw ether ADDRESS] [metric NN] [mtu NN]662 [[-]trailers] [[-]arp] [[-]allmulti]663 [multicast] [[-]promisc] [txqueuelen NN] [[-]dynamic]664 [mem_start NN] [io_addr NN] [irq NN]665 [up|down] ...666 667 211 ifdown 668 212 ifdown [-anvf] [-i FILE] IFACE... 669 213 670 -a De/configure all interfaces automatically671 -i FILE Use FILE for interface definitions672 -n Print out what would happen, but don't do it673 -v Print out what would happen before doing it674 -f Force de/configuration675 676 214 ifup 677 215 ifup [-anvf] [-i FILE] IFACE... 678 216 679 -a De/configure all interfaces automatically680 -i FILE Use FILE for interface definitions681 -n Print out what would happen, but don't do it682 -v Print out what would happen before doing it683 -f Force de/configuration684 685 217 insmod 686 218 insmod [OPTIONS] MODULE [SYMBOL=VALUE]... 687 219 688 Load the specified kernel modules into the kernel689 690 -f Force module to load into the wrong kernel version691 -k Make module autoclean-able692 -v Verbose693 -q Quiet694 -L Lock: prevent simultaneous loads695 -x Don't export externs696 697 220 install 698 221 install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST 699 222 700 Copy files and set attributes701 702 -c Just copy (default)703 -d Create directories704 -D Create leading target directories705 -s Strip symbol table706 -p Preserve date707 -o USER Set ownership708 -g GRP Set group ownership709 -m MODE Set permissions710 711 223 kill 712 224 kill [-l] [-SIG] PID... 713 225 714 Send a signal (default: TERM) to given PIDs715 716 -l List all signal names and numbers717 718 226 killall 719 227 killall [-l] [-q] [-SIG] PROCESS_NAME... 720 228 721 Send a signal (default: TERM) to given processes722 723 -l List all signal names and numbers724 -q Don't complain if no processes were killed725 726 229 klogd 727 230 klogd [-c N] [-n] 728 231 729 Kernel logger730 731 -c N Print to console messages more urgent than prio N (1-8)732 -n Run in foreground733 734 232 less 735 233 less [-EMNmh~I?] [FILE]... 736 234 737 View FILE (or stdin) one screenful at a time738 739 -E Quit once the end of a file is reached740 -M,-m Display status line with line numbers741 and percentage through the file742 -N Prefix line number to each line743 -I Ignore case in all searches744 -~ Suppress ~s displayed past the end of the file745 746 235 ln ln [OPTIONS] TARGET... LINK|DIR 747 748 Create a link LINK or DIR/TARGET to the specified TARGET(s)749 750 -s Make symlinks instead of hardlinks751 -f Remove existing destinations752 -n Don't dereference symlinks - treat like normal file753 -b Make a backup of the target (if exists) before link operation754 -S suf Use suffix instead of ~ when making backup files755 236 756 237 logger 757 238 logger [OPTIONS] [MESSAGE] 758 239 759 Write MESSAGE (or stdin) to syslog760 761 -s Log to stderr as well as the system log762 -t TAG Log using the specified tag (defaults to user name)763 -p PRIO Priority (numeric or facility.level pair)764 765 240 login 766 241 login [-p] [-h HOST] [[-f] USER] 767 242 768 Begin a new session on the system769 770 -f Don't authenticate (user already authenticated)771 -h Name of the remote host772 -p Preserve environment773 774 243 logread 775 244 logread [-f] 776 245 777 Show messages in syslogd's circular buffer778 779 -f Output data as log grows780 781 246 ls ls [-1AaCxdLHRFplinsehrSXvctu] [-w WIDTH] [FILE]... 782 783 List directory contents784 785 -1 One column output786 -a Include entries which start with .787 -A Like -a, but exclude . and ..788 -C List by columns789 -x List by lines790 -d List directory entries instead of contents791 -L Follow symlinks792 -H Follow symlinks on command line793 -R Recurse794 -p Append / to dir entries795 -F Append indicator (one of */=@|) to entries796 -l Long listing format797 -i List inode numbers798 -n List numeric UIDs and GIDs instead of names799 -s List allocated blocks800 -e List full date and time801 -h List sizes in human readable format (1K 243M 2G)802 -r Sort in reverse order803 -S Sort by size804 -X Sort by extension805 -v Sort by version806 -c With -l: sort by ctime807 -t With -l: sort by mtime808 -u With -l: sort by atime809 -w N Assume the terminal is N columns wide810 811 lsattr812 lsattr [-Radlv] [FILE]...813 814 List file attributes on an ext2 fs815 816 -R Recurse817 -a Don't hide entries starting with .818 -d List directory entries instead of contents819 -l List long flag names820 -v List the file's version/generation number821 247 822 248 lsmod 823 249 lsmod 824 250 825 List the currently loaded kernel modules826 827 lzcat828 lzcat FILE829 830 Decompress to stdout831 832 251 md5sum 833 252 md5sum [FILE]... 834 253 835 Print MD5 checksums836 837 254 mesg 838 255 mesg [y|n] 839 256 840 Control write access to your terminal y Allow write access to your841 terminal n Disallow write access to your terminal842 843 257 mkdir 844 258 mkdir [OPTIONS] DIRECTORY... 845 846 Create DIRECTORY847 848 -m MODE Mode849 -p No error if exists; make parent directories as needed850 851 mkdosfs852 mkdosfs [-v] [-n LABEL] BLOCKDEV [KBYTES]853 854 Make a FAT32 filesystem855 856 -v Verbose857 -n LBL Volume label858 259 859 260 mke2fs … … 861 262 RESERVED_PERCENT] [-L LABEL] BLOCKDEV [KBYTES] 862 263 863 -b BLK_SIZE Block size, bytes864 -F Force865 -i RATIO Max number of files is filesystem_size / RATIO866 -I BYTES Inode size (min 128)867 -L LBL Volume label868 -m PERCENT Percent of blocks to reserve for admin869 -n Dry run870 871 264 mkfifo 872 265 mkfifo [-m MODE] NAME 873 874 Create named pipe875 876 -m MODE Mode (default a=rw)877 266 878 267 mkfs.ext2 … … 880 269 RESERVED_PERCENT] [-L LABEL] BLOCKDEV [KBYTES] 881 270 882 -b BLK_SIZE Block size, bytes883 -F Force884 -i RATIO Max number of files is filesystem_size / RATIO885 -I BYTES Inode size (min 128)886 -L LBL Volume label887 -m PERCENT Percent of blocks to reserve for admin888 -n Dry run889 890 mkfs.vfat891 mkfs.vfat [-v] [-n LABEL] BLOCKDEV [KBYTES]892 893 Make a FAT32 filesystem894 895 -v Verbose896 -n LBL Volume label897 898 mknod899 mknod [-m MODE] NAME TYPE MAJOR MINOR900 901 Create a special file (block, character, or pipe)902 903 -m MODE Creation mode (default a=rw)904 TYPE:905 b Block device906 c or u Character device907 p Named pipe (MAJOR and MINOR are ignored)908 909 271 more 910 272 more [FILE]... 911 273 912 View FILE (or stdin) one screenful at a time913 914 274 mount 915 275 mount [OPTIONS] [-o OPTS] DEVICE NODE 916 276 917 Mount a filesystem. Filesystem autodetection requires /proc.918 919 -a Mount all filesystems in fstab920 -r Read-only mount921 -w Read-write mount (default)922 -t FSTYPE Filesystem type923 -O OPT Mount only filesystems with option OPT (-a only)924 -o OPT:925 loop Ignored (loop devices are autodetected)926 [a]sync Writes are [a]synchronous927 [no]atime Disable/enable updates to inode access times928 [no]diratime Disable/enable atime updates to directories929 [no]relatime Disable/enable atime updates relative to modification time930 [no]dev (Dis)allow use of special device files931 [no]exec (Dis)allow use of executable files932 [no]suid (Dis)allow set-user-id-root programs933 [r]shared Convert [recursively] to a shared subtree934 [r]slave Convert [recursively] to a slave subtree935 [r]private Convert [recursively] to a private subtree936 [un]bindable Make mount point [un]able to be bind mounted937 [r]bind Bind a file or directory [recursively] to another location938 move Relocate an existing mount point939 remount Remount a mounted filesystem, changing flags940 ro/rw Same as -r/-w941 942 There are filesystem-specific -o flags.943 944 277 mv mv [-fin] SOURCE DEST or: mv [-fin] SOURCE... DIRECTORY 945 946 Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY947 948 -f Don't prompt before overwriting949 -i Interactive, prompt before overwrite950 -n Don't overwrite an existing file951 278 952 279 nameif 953 280 nameif [-s] [-c FILE] [IFNAME HWADDR]... 954 281 955 Rename network interface while it in the down state. The device with956 address HWADDR is renamed to IFACE.957 958 -c FILE Configuration file (default: /etc/mactab)959 -s Log to syslog960 961 282 nc nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG] 962 963 Open a pipe to IP:PORT or FILE964 965 -e PROG Run PROG after connect966 -l Listen mode, for inbound connects967 (use -l twice with -e for persistent server)968 -p PORT Local port969 -w SEC Timeout for connect970 -i SEC Delay interval for lines sent971 -f FILE Use file (ala /dev/ttyS0) instead of network972 283 973 284 netstat 974 285 netstat [-ral] [-tuwx] [-en] 975 286 976 Display networking information977 978 -r Routing table979 -a All sockets980 -l Listening sockets981 Else: connected sockets982 -t TCP sockets983 -u UDP sockets984 -w Raw sockets985 -x Unix sockets986 Else: all socket types987 -e Other/more information988 -n Don't resolve names989 990 nice991 nice [-n ADJUST] [PROG ARGS]992 993 Change scheduling priority, run PROG994 995 -n ADJUST Adjust priority by ADJUST996 997 287 nohup 998 288 nohup PROG ARGS 999 289 1000 Run PROG immune to hangups, with output to a non-tty1001 1002 290 nslookup 1003 291 nslookup [HOST] [SERVER] 1004 292 1005 Query the nameserver for the IP address of the given HOST optionally1006 using a specified DNS server1007 1008 293 pidof 1009 294 pidof [OPTIONS] [NAME]... 1010 295 1011 List PIDs of all processes with names that match NAMEs1012 1013 -s Show only one PID1014 -o PID Omit given pid1015 Use %PPID to omit pid of pidof's parent1016 1017 296 ping 1018 297 ping [OPTIONS] HOST 1019 298 1020 Send ICMP ECHO_REQUEST packets to network hosts1021 1022 -4,-6 Force IP or IPv6 name resolution1023 -c CNT Send only CNT pings1024 -s SIZE Send SIZE data bytes in packets (default:56)1025 -t TTL Set TTL1026 -I IFACE/IP Use interface or IP address as source1027 -W SEC Seconds to wait for the first response (default:10)1028 (after all -c CNT packets are sent)1029 -w SEC Seconds until ping exits (default:infinite)1030 (can exit earlier with -c CNT)1031 -q Quiet, only displays output at start1032 and when finished1033 1034 ping61035 ping6 [OPTIONS] HOST1036 1037 Send ICMP ECHO_REQUEST packets to network hosts1038 1039 -c CNT Send only CNT pings1040 -s SIZE Send SIZE data bytes in packets (default:56)1041 -I IFACE/IP Use interface or IP address as source1042 -q Quiet, only displays output at start1043 and when finished1044 1045 299 pivot_root 1046 300 pivot_root NEW_ROOT PUT_OLD 1047 301 1048 Move the current root file system to PUT_OLD and make NEW_ROOT the1049 new root file system1050 1051 302 poweroff 1052 303 poweroff [-d DELAY] [-n] [-f] 1053 304 1054 Halt and shut off power1055 1056 -d SEC Delay interval1057 -n Do not sync1058 -f Force (don't go through init)1059 1060 printenv1061 printenv [VARIABLE]...1062 1063 Print environment VARIABLEs. If no VARIABLE specified, print all.1064 1065 305 printf 1066 306 printf FORMAT [ARGUMENT]... 1067 307 1068 Format and print ARGUMENT(s) according to FORMAT, where FORMAT1069 controls the output exactly as in C printf1070 1071 308 ps ps 1072 309 1073 Show list of processes1074 1075 w Wide output1076 1077 310 pwd pwd 1078 1079 Print the full filename of the current working directory1080 311 1081 312 reboot 1082 313 reboot [-d DELAY] [-n] [-f] 1083 314 1084 Reboot the system1085 1086 -d SEC Delay interval1087 -n Do not sync1088 -f Force (don't go through init)1089 1090 renice1091 renice {{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID...]1092 1093 Change scheduling priority for a running process1094 1095 -n Adjust current nice value (smaller is faster)1096 -p Process id(s) (default)1097 -g Process group id(s)1098 -u Process user name(s) and/or id(s)1099 1100 315 reset 1101 316 reset 1102 317 1103 Reset the screen1104 1105 318 rm rm [-irf] FILE... 1106 1107 Remove (unlink) FILEs1108 1109 -i Always prompt before removing1110 -f Never prompt1111 -R,-r Recurse1112 319 1113 320 rmdir 1114 321 rmdir [OPTIONS] DIRECTORY... 1115 322 1116 Remove DIRECTORY if it is empty1117 1118 -p Include parents1119 1120 323 rmmod 1121 324 rmmod [-wfa] [MODULE]... 1122 325 1123 Unload kernel modules1124 1125 -w Wait until the module is no longer used1126 -f Force unload1127 -a Remove all unused modules (recursively)1128 1129 326 route 1130 327 route [{add|del|delete}] 1131 328 1132 Edit kernel routing tables1133 1134 -n Don't resolve names1135 -e Display other/more information1136 -A inet{6} Select address family1137 1138 329 run-parts 1139 330 run-parts [-t] [-a ARG] [-u MASK] DIRECTORY 1140 331 1141 Run a bunch of scripts in DIRECTORY1142 1143 -t Print what would be run, but don't actually run anything1144 -a ARG Pass ARG as argument for every program1145 -u MASK Set the umask to MASK before running every program1146 1147 332 rx rx FILE 1148 333 1149 Receive a file using the xmodem protocol1150 1151 334 sed sed [-efinr] SED_CMD [FILE]... 1152 1153 -e CMD Add CMD to sed commands to be executed1154 -f FILE Add FILE contents to sed commands to be executed1155 -i Edit files in-place (else sends result to stdout)1156 -n Suppress automatic printing of pattern space1157 -r Use extended regex syntax1158 1159 If no -e or -f, the first non-option argument is the sed command1160 string. Remaining arguments are input files (stdin if none).1161 335 1162 336 sendmail 1163 337 sendmail [OPTIONS] [RECIPIENT_EMAIL]... 1164 338 1165 Read email from stdin and send it1166 1167 Standard options:1168 1169 -t Read additional recipients from message body1170 -f SENDER Sender (required)1171 -o OPTIONS Various options. -oi implied, others are ignored1172 -i -oi synonym. implied and ignored1173 1174 Busybox specific options:1175 1176 -v Verbose1177 -w SECS Network timeout1178 -H 'PROG ARGS' Run connection helper1179 Examples:1180 -H 'exec openssl s_client -quiet -tls1 -starttls smtp1181 -connect smtp.gmail.com:25' <email.txt1182 [4<username_and_passwd.txt | -au<username> -ap<password>]1183 -H 'exec openssl s_client -quiet -tls11184 -connect smtp.gmail.com:465' <email.txt1185 [4<username_and_passwd.txt | -au<username> -ap<password>]1186 -S HOST[:PORT] Server1187 -au<username> Username for AUTH LOGIN1188 -ap<password> Password for AUTH LOGIN1189 -am<method> Authentication method. Ignored. LOGIN is implied1190 1191 Other options are silently ignored; -oi -t is implied1192 1193 339 sh sh [-/+OPTIONS] [-/+o OPT]... [-c 'SCRIPT' [ARG0 [ARGS]] / FILE 1194 340 [ARGS]] 1195 341 1196 Unix shell interpreter1197 1198 sha1sum1199 sha1sum [FILE]...1200 1201 Print SHA1 checksums1202 1203 342 sleep 1204 343 sleep [N]... 1205 1206 Pause for a time equal to the total of the args given, where each1207 arg can have an optional suffix of (s)econds, (m)inutes, (h)ours, or1208 (d)ays1209 344 1210 345 sort … … 1212 347 start[.offset][opts][,end[.offset][opts]] [-t CHAR] [FILE]... 1213 348 1214 Sort lines of text1215 1216 -b Ignore leading blanks1217 -c Check whether input is sorted1218 -d Dictionary order (blank or alphanumeric only)1219 -f Ignore case1220 -g General numerical sort1221 -i Ignore unprintable characters1222 -k Sort key1223 -M Sort month1224 -n Sort numbers1225 -o Output to file1226 -k Sort by key1227 -t CHAR Key separator1228 -r Reverse sort order1229 -s Stable (don't sort ties alphabetically)1230 -u Suppress duplicate lines1231 -z Lines are terminated by NUL, not newline1232 -mST Ignored for GNU compatibility1233 1234 349 strings 1235 350 strings [-afo] [-n LEN] [FILE]... 1236 351 1237 Display printable strings in a binary file1238 1239 -a Scan whole file (default)1240 -f Precede strings with filenames1241 -n LEN At least LEN characters form a string (default 4)1242 -o Precede strings with decimal offsets1243 1244 352 stty 1245 353 stty [-a|g] [-F DEVICE] [SETTING]... 1246 354 1247 Without arguments, prints baud rate, line discipline, and deviations1248 from stty sane1249 1250 -F DEVICE Open device instead of stdin1251 -a Print all current settings in human-readable form1252 -g Print in stty-readable form1253 [SETTING] See manpage1254 1255 355 sync 1256 356 sync 1257 357 1258 Write all buffered blocks to disk1259 1260 sysctl1261 sysctl [OPTIONS] [VALUE]...1262 1263 Configure kernel parameters at runtime1264 1265 -n Don't print key names1266 -e Don't warn about unknown keys1267 -w Change sysctl setting1268 -p FILE Load sysctl settings from FILE (default /etc/sysctl.conf)1269 -a Display all values1270 -A Display all values in table form1271 1272 358 syslogd 1273 359 syslogd [OPTIONS] 1274 360 1275 System logging utility (this version of syslogd ignores1276 /etc/syslog.conf)1277 1278 -n Run in foreground1279 -O FILE Log to FILE (default:/var/log/messages)1280 -l N Log only messages more urgent than prio N (1-8)1281 -S Smaller output1282 -s SIZE Max size (KB) before rotation (default:200KB, 0=off)1283 -b N N rotated logs to keep (default:1, max=99, 0=purge)1284 -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)1285 -L Log locally and via network (default is network only if -R)1286 -C[size_kb] Log to shared mem buffer (use logread to read it)1287 1288 361 tail 1289 362 tail [OPTIONS] [FILE]... 1290 363 1291 Print last 10 lines of each FILE (or stdin) to stdout. With more 1292 than one FILE, precede each with a filename header. 1293 1294 -f Print data as file grows 1295 -s SECONDS Wait SECONDS between reads with -f 1296 -n N[kbm] Print last N lines 1297 -c N[kbm] Print last N bytes 1298 -q Never print headers 1299 -v Always print headers 1300 1301 N may be suffixed by k (x1024), b (x512), or m (x1024^2). If N 1302 starts with a '+', output begins with the Nth item from the start of 1303 each file, not from the end. 1304 1305 tar tar -[cxtzahvO] [-f TARFILE] [-C DIR] [FILE]... 1306 1307 Create, extract, or list files from a tar file 1308 1309 Operation: 1310 1311 c Create 1312 x Extract 1313 t List 1314 f Name of TARFILE ('-' for stdin/out) 1315 C Change to DIR before operation 1316 v Verbose 1317 z (De)compress using gzip 1318 a (De)compress using lzma 1319 O Extract to stdout 1320 h Follow symlinks 364 tar tar -[cxtzhvO] [-f TARFILE] [-C DIR] [FILE]... 1321 365 1322 366 tee tee [-ai] [FILE]... 1323 1324 Copy stdin to each FILE, and also to stdout1325 1326 -a Append to the given FILEs, don't overwrite1327 -i Ignore interrupt signals (SIGINT)1328 367 1329 368 telnet 1330 369 telnet [-a] [-l USER] HOST [PORT] 1331 370 1332 Connect to telnet server1333 1334 -a Automatic login with $USER variable1335 -l USER Automatic login as USER1336 1337 371 telnetd 1338 372 telnetd [OPTIONS] 1339 373 1340 Handle incoming telnet connections1341 1342 -l LOGIN Exec LOGIN on connect1343 -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue1344 -K Close connection as soon as login exits1345 (normally wait until all programs close slave pty)1346 -p PORT Port to listen on1347 -b ADDR[:PORT] Address to bind to1348 -F Run in foreground1349 -i Inetd mode1350 1351 374 test 1352 375 test EXPRESSION ] 1353 376 1354 Check file types, compare values etc. Return a 0/1 exit code1355 depending on logical value of EXPRESSION1356 1357 tftp1358 tftp [OPTIONS] HOST [PORT]1359 1360 Transfer a file from/to tftp server1361 1362 -l FILE Local FILE1363 -r FILE Remote FILE1364 -g Get file1365 -p Put file1366 -b SIZE Transfer blocks of SIZE octets1367 1368 377 time 1369 378 time [-v] PROG ARGS 1370 379 1371 Run PROG, display resource usage when it exits1372 1373 -v Verbose1374 1375 380 top top [-b] [-nCOUNT] [-dSECONDS] [-m] 1376 1377 Provide a view of process activity in real time. Read the status of1378 all processes from /proc each SECONDS and display a screenful of1379 them. Keys:1380 1381 N/M/P/T: show CPU usage, sort by pid/mem/cpu/time1382 S: show memory1383 R: reverse sort1384 H: toggle threads, 1: toggle SMP1385 Q,^C: exit1386 1387 Options:1388 1389 -b Batch mode1390 -n N Exit after N iterations1391 -d N Delay between updates1392 -m Same as 's' key1393 381 1394 382 touch 1395 383 touch [-c] FILE [FILE]... 1396 384 1397 Update the last-modified date on the given FILE[s]1398 1399 -c Don't create files1400 1401 385 tr tr [-cds] STRING1 [STRING2] 1402 386 1403 Translate, squeeze, or delete characters from stdin, writing to1404 stdout1405 1406 -c Take complement of STRING11407 -d Delete input characters coded STRING11408 -s Squeeze multiple output characters of STRING2 into one character1409 1410 387 traceroute 1411 traceroute [-46FIldnrv] [-f 1ST_TTL] [-m MAXTTL] [-p PORT] [-q 1412 PROBES] [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-g GATEWAY] [-i IFACE] 1413 [-z PAUSE_MSEC] HOST [BYTES] 1414 1415 Trace the route to HOST 1416 1417 -4,-6 Force IP or IPv6 name resolution 1418 -F Set the don't fragment bit 1419 -I Use ICMP ECHO instead of UDP datagrams 1420 -l Display the TTL value of the returned packet 1421 -d Set SO_DEBUG options to socket 1422 -n Print numeric addresses 1423 -r Bypass routing tables, send directly to HOST 1424 -v Verbose 1425 -m Max time-to-live (max number of hops) 1426 -p Base UDP port number used in probes 1427 (default 33434) 1428 -q Number of probes per TTL (default 3) 1429 -s IP address to use as the source address 1430 -t Type-of-service in probe packets (default 0) 1431 -w Time in seconds to wait for a response (default 3) 1432 -g Loose source route gateway (8 max) 1433 1434 traceroute6 1435 traceroute6 [-dnrv] [-m MAXTTL] [-p PORT] [-q PROBES] [-s SRC_IP] 1436 [-t TOS] [-w WAIT_SEC] [-i IFACE] HOST [BYTES] 1437 1438 Trace the route to HOST 1439 1440 -d Set SO_DEBUG options to socket 1441 -n Print numeric addresses 1442 -r Bypass routing tables, send directly to HOST 1443 -v Verbose 1444 -m Max time-to-live (max number of hops) 1445 -p Base UDP port number used in probes 1446 (default is 33434) 1447 -q Number of probes per TTL (default 3) 1448 -s IP address to use as the source address 1449 -t Type-of-service in probe packets (default 0) 1450 -w Time in seconds to wait for a response (default 3) 388 traceroute [-FIldnrv] [-f 1ST_TTL] [-m MAXTTL] [-p PORT] [-q PROBES] 389 [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-g GATEWAY] [-i IFACE] [-z 390 PAUSE_MSEC] HOST [BYTES] 1451 391 1452 392 true 1453 393 true 1454 394 1455 Return an exit code of TRUE (0)1456 1457 395 tty tty 1458 1459 Print file name of stdin's terminal1460 1461 tune2fs1462 tune2fs [-c MOUNT_CNT] [-i DAYS] [-L LABEL] BLOCKDEV1463 1464 Adjust filesystem options on ext[23] filesystems1465 396 1466 397 umount 1467 398 umount [OPTIONS] FILESYSTEM|DIRECTORY 1468 399 1469 Unmount file systems1470 1471 -r Try to remount devices as read-only if mount is busy1472 -l Lazy umount (detach filesystem)1473 -f Force umount (i.e., unreachable NFS server)1474 -d Free loop device if it has been used1475 1476 400 uname 1477 401 uname [-amnrspv] 1478 402 1479 Print system information1480 1481 -a Print all1482 -m The machine (hardware) type1483 -n Hostname1484 -r OS release1485 -s OS name (default)1486 -p Processor type1487 -v OS version1488 1489 403 uniq 1490 404 uniq [-cdu][-f,s,w N] [INPUT [OUTPUT]] 1491 405 1492 Discard duplicate lines1493 1494 -c Prefix lines by the number of occurrences1495 -d Only print duplicate lines1496 -u Only print unique lines1497 -f N Skip first N fields1498 -s N Skip first N chars (after any skipped fields)1499 -w N Compare N characters in line1500 1501 unlzma1502 unlzma [-cf] [FILE]...1503 1504 Decompress FILE (or stdin)1505 1506 -c Write to stdout1507 -f Force1508 1509 406 uptime 1510 407 uptime 1511 408 1512 Display the time since the last boot1513 1514 409 usleep 1515 410 usleep N 1516 411 1517 Pause for N microseconds1518 1519 412 uudecode 1520 413 uudecode [-o OUTFILE] [INFILE] 1521 414 1522 Uudecode a file Finds outfile name in uuencoded source unless -o is1523 given1524 1525 415 uuencode 1526 416 uuencode [-m] [INFILE] STORED_FILENAME 1527 417 1528 Uuencode a file to stdout1529 1530 -m Use base64 encoding per RFC15211531 1532 418 vconfig 1533 419 vconfig COMMAND [OPTIONS] 1534 420 1535 Create and remove virtual ethernet devices1536 1537 add [interface-name] [vlan_id]1538 rem [vlan-name]1539 set_flag [interface-name] [flag-num] [0 | 1]1540 set_egress_map [vlan-name] [skb_priority] [vlan_qos]1541 set_ingress_map [vlan-name] [skb_priority] [vlan_qos]1542 set_name_type [name-type]1543 1544 421 vi vi [OPTIONS] [FILE]... 1545 1546 Edit FILE1547 1548 -c Initial command to run ($EXINIT also available)1549 -R Read-only1550 -H Short help regarding available features1551 422 1552 423 watch 1553 424 watch [-n SEC] [-t] PROG ARGS 1554 425 1555 Run PROG periodically1556 1557 -n Loop period in seconds (default 2)1558 -t Don't print header1559 1560 426 wc wc [-clwL] [FILE]... 1561 1562 Count lines, words, and bytes for each FILE (or stdin)1563 1564 -c Count bytes1565 -l Count newlines1566 -w Count words1567 -L Print longest line length1568 427 1569 428 wget 1570 429 wget [-csq] [-O FILE] [-Y on/off] [-P DIR] [-U AGENT] URL... 1571 430 1572 Retrieve files via HTTP or FTP1573 1574 -s Spider mode - only check file existence1575 -c Continue retrieval of aborted transfer1576 -q Quiet1577 -P DIR Save to DIR (default .)1578 -O FILE Save to FILE ('-' for stdout)1579 -U STR Use STR for User-Agent header1580 -Y Use proxy ('on' or 'off')1581 1582 431 which 1583 432 which [COMMAND]... 1584 433 1585 Locate a COMMAND1586 1587 434 whoami 1588 435 whoami 1589 436 1590 Print the user name associated with the current effective user id1591 1592 437 xargs 1593 438 xargs [OPTIONS] [PROG ARGS] 1594 439 1595 Run PROG on every item given by stdin1596 1597 -p Ask user whether to run each command1598 -r Don't run command if input is empty1599 -0 Input is separated by NUL characters1600 -t Print the command on stderr before execution1601 -e[STR] STR stops input processing1602 -n N Pass no more than N args to PROG1603 -s N Pass command line of no more than N bytes1604 -x Exit if size is exceeded1605 1606 440 yes yes [STRING] 1607 1608 Repeatedly output a line with STRING, or 'y'1609 441 1610 442 zcat 1611 443 zcat FILE 1612 1613 Decompress to stdout1614 444 1615 445 LIBC NSS
Note: See TracChangeset
for help on using the changeset viewer.
