📄 usage.h
字号:
"\t-a (*** not supported ***)\n" \ "\t Load all matching modules instead of stopping after\n" \ "\t the first successful loading.\n" \ "\n" \ "\t-c (*** not supported ***)\n" \ "\t Show the currently used configuration.\n" \ "\n" \ "\t-d\n" \ "\t Show information about the internal representation\n" \ "\t of the stack of modules.\n" \ "\n" \ "\t-k\n" \ "\t Set 'autoclean' on loaded modules. Used by the\n" \ "\t kernel when it calls on modprobe to satify a miss璡n" \ "\t ing feature (supplied as a module). The -q option\n" \ "\t is implied by -k. These options will automatically\n" \ "\t be sent to insmod.\n" \ "\n" \ "\t-l (*** not supported ***)\n" \ "\t List matching modules.\n" \ "\n" \ "\t-n\n" \ "\t Don't actually perform the action, just show what\n" \ "\t would be done.\n" \ "\n" \ "\t-q\n" \ "\t Do not complain about insmod failing to install a\n" \ "\t module. Continue as normal, but silently, with\n" \ "\t other possibilities for modprobe to test. This\n" \ "\t option will automatically be sent to insmod.\n" \ "\n" \ "\t-r\n" \ "\t Remove module (stacks) or do autoclean, depending\n" \ "\t on whether there are any modules mentioned on the\n" \ "\t command line.\n" \ "\n" \ "\t-s\n" \ "\t Report via syslog instead of stderr. This options\n" \ "\t will automatically be sent to insmod.\n" \ "\n" \ "\t-t type (*** not supported ***)\n" \ "\t Only consider modules of this type (tag).\n" \ "\n" \ "\t-v\n" \ "\t Print all commands as they are executed.\n" \ "\n" \ "\t-V\n" \ "\t Show the release version of modprobe.\n" \ "\n" \ "\t-C configfile (*** not supported ***)\n" \ "\t Use the file configfile instead of (the optional)\n" \ "\t /etc/modules.conf to specify the configuration.\n" \ "\t The environment variable MODULECONF can also be\n" \ "\t used to select (and override) a different configu璡n" \ "\t ration file from the default /etc/modules.conf (or\n" \ "\t /etc/conf.modules (depreciated)).\n"#define modprobe_example_usage \ "$ modprobe pcnet_cs\n" \ "$ modprobe -r pcnet_cs\n"#define more_trivial_usage \ "[FILE ...]"#define more_full_usage \ "More is a filter for viewing FILE one screenful at a time."#define more_example_usage \ "$ dmesg | more\n" #ifdef BB_FEATURE_MOUNT_LOOP #define USAGE_MOUNT_LOOP(a) a#else #define USAGE_MOUNT_LOOP(a)#endif#ifdef BB_FEATURE_MTAB_SUPPORT #define USAGE_MTAB(a) a#else #define USAGE_MTAB(a)#endif#define mount_trivial_usage \ "[flags] DEVICE NODE [-o options,more-options]"#define mount_full_usage \ "Mount a filesystem\n\n" \ "Flags:\n" \ "\t-a:\t\tMount all filesystems in fstab.\n" \ USAGE_MTAB( \ "\t-f:\t\t\"Fake\" Add entry to mount table but don't mount it.\n" \ "\t-n:\t\tDon't write a mount table entry.\n" \ ) \ "\t-o option:\tOne of many filesystem options, listed below.\n" \ "\t-r:\t\tMount the filesystem read-only.\n" \ "\t-t fs-type:\tSpecify the filesystem type.\n" \ "\t-w:\t\tMount for reading and writing (default).\n" \ "\n" \ "Options for use with the \"-o\" flag:\n" \ "\tasync/sync:\tWrites are asynchronous / synchronous.\n" \ "\tatime/noatime:\tEnable / disable updates to inode access times.\n" \ "\tdev/nodev:\tAllow use of special device files / disallow them.\n" \ "\texec/noexec:\tAllow use of executable files / disallow them.\n" \ USAGE_MOUNT_LOOP( \ "\tloop:\t\tMounts a file via loop device.\n" \ ) \ "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" \ "\tremount:\tRe-mount a mounted filesystem, changing its flags.\n" \ "\tro/rw:\t\tMount for read-only / read-write.\n" \ "\tbind:\t\tUse the linux 2.4.x \"bind\" feature.\n" \ "\nThere are EVEN MORE flags that are specific to each filesystem.\n" \ "You'll have to see the written documentation for those filesystems."#define mount_example_usage \ "$ mount\n" \ "/dev/hda3 on / type minix (rw)\n" \ "proc on /proc type proc (rw)\n" \ "devpts on /dev/pts type devpts (rw)\n" \ "$ mount /dev/fd0 /mnt -t msdos -o ro\n" \ "$ mount /tmp/diskimage /opt -t ext2 -o loop\n" #define mt_trivial_usage \ "[-f device] opcode value"#define mt_full_usage \ "Control magnetic tape drive operation\n" \ "\nAvailable Opcodes:\n\n" \ "bsf bsfm bsr bss datacompression drvbuffer eof eom erase\n" \ "fsf fsfm fsr fss load lock mkpart nop offline ras1 ras2\n" \ "ras3 reset retension rew rewoffline seek setblk setdensity\n" \ "setpart tell unload unlock weof wset"#define mv_trivial_usage \ "SOURCE DEST\n" \ "or: mv SOURCE... DIRECTORY"#define mv_full_usage \ "Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY."#define mv_example_usage \ "$ mv /tmp/foo /bin/bar\n" #define nc_trivial_usage \ "[OPTIONS] [IP] [port]" #define nc_full_usage \ "Netcat opens a pipe to IP:port\n\n" \ "Options:\n" \ "\t-l\t\tlisten mode, for inbound connects\n" \ "\t-p PORT\t\tlocal port number\n" \ "\t-e PROG\t\tprogram to exec after connect (dangerous!)"#define nc_example_usage \ "$ nc foobar.somedomain.com 25\n" \ "220 foobar ESMTP Exim 3.12 #1 Sat, 15 Apr 2000 00:03:02 -0600\n" \ "help\n" \ "214-Commands supported:\n" \ "214- HELO EHLO MAIL RCPT DATA AUTH\n" \ "214 NOOP QUIT RSET HELP\n" \ "quit\n" \ "221 foobar closing connection\n" #define nslookup_trivial_usage \ "[HOST] [SERVER]"#define nslookup_full_usage \ "Queries the nameserver for the IP address of the given HOST\n" \ "optionally using a specified DNS server"#define nslookup_example_usage \ "$ nslookup localhost\n" \ "Server: default\n" \ "Address: default\n" \ "\n" \ "Name: debian\n" \ "Address: 127.0.0.1\n" #define pidof_trivial_usage \ "process-name [process-name ...]"#define pidof_full_usage \ "Lists the PIDs of all processes with names that match the names on the command line"#define pidof_example_usage \ "$ pidof init\n" \ "1\n"#ifndef BB_FEATURE_FANCY_PING#define ping_trivial_usage "host"#define ping_full_usage "Send ICMP ECHO_REQUEST packets to network hosts"#else#define ping_trivial_usage \ "[OPTION]... host"#define ping_full_usage \ "Send ICMP ECHO_REQUEST packets to network hosts.\n\n" \ "Options:\n" \ "\t-c COUNT\tSend only COUNT pings.\n" \ "\t-s SIZE\t\tSend SIZE data bytes in packets (default=56).\n" \ "\t-q\t\tQuiet mode, only displays output at start\n" \ "\t\t\tand when finished."#endif#define ping_example_usage \ "$ ping localhost\n" \ "PING slag (127.0.0.1): 56 data bytes\n" \ "64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=20.1 ms\n" \ "\n" \ "--- debian ping statistics ---\n" \ "1 packets transmitted, 1 packets received, 0% packet loss\n" \ "round-trip min/avg/max = 20.1/20.1/20.1 ms\n" #define pivot_root_trivial_usage \ "NEW_ROOT PUT_OLD"#define pivot_root_full_usage \ "Move the current root file system to PUT_OLD and make NEW_ROOT\n" \ "the new root file system."#define poweroff_trivial_usage \ ""#define poweroff_full_usage \ "Halt the system and request that the kernel shut off the power."#define printf_trivial_usage \ "FORMAT [ARGUMENT...]"#define printf_full_usage \ "Formats and prints ARGUMENT(s) according to FORMAT,\n" \ "Where FORMAT controls the output exactly as in C printf."#define printf_example_usage \ "$ printf "Val=%d\\n" 5\n" \ "Val=5\n" #define ps_trivial_usage \ ""#define ps_full_usage \ "Report process status\n" \ "\nThis version of ps accepts no options."#define ps_example_usage \ "$ ps\n" \ " PID Uid Gid State Command\n" \ " 1 root root S init\n" \ " 2 root root S [kflushd]\n" \ " 3 root root S [kupdate]\n" \ " 4 root root S [kpiod]\n" \ " 5 root root S [kswapd]\n" \ " 742 andersen andersen S [bash]\n" \ " 743 andersen andersen S -bash\n" \ " 745 root root S [getty]\n" \ " 2990 andersen andersen R ps\n"#define pwd_trivial_usage \ ""#define pwd_full_usage \ "Print the full filename of the current working directory."#define pwd_example_usage \ "$ pwd\n" \ "/root\n"#define rdate_trivial_usage \ "[OPTION] HOST"#define rdate_full_usage \ "Get and possibly set the system date and time from a remote HOST.\n\n" \ "Options:\n" \ "\t-s\tSet the system date and time (default).\n" \ "\t-p\tPrint the date and time."#define readlink_trivial_usage \ ""#define readlink_full_usage \ "Read a symbolic link."#define reboot_trivial_usage \ ""#define reboot_full_usage \ "Reboot the system."#define renice_trivial_usage \ "priority pid [pid ...]"#define renice_full_usage \ "Changes priority of running processes. Allowed priorities range\n" \ "from 20 (the process runs only when nothing else is running) to 0\n" \ "(default priority) to -20 (almost nothing else ever gets to run)."#define reset_trivial_usage \ ""#define reset_full_usage \ "Resets the screen."#define rm_trivial_usage \ "[OPTION]... FILE..."#define rm_full_usage \ "Remove (unlink) the FILE(s). You may use '--' to\n" \ "indicate that all following arguments are non-options.\n\n" \ "Options:\n" \ "\t-i\t\talways prompt before removing each destination" \ "\t-f\t\tremove existing destinations, never prompt\n" \ "\t-r or -R\tremove the contents of directories recursively"#define rm_example_usage \ "$ rm -rf /tmp/foo\n"#define rmdir_trivial_usage \ "[OPTION]... DIRECTORY..."#define rmdir_full_usage \ "Remove the DIRECTORY(ies), if they are empty."#define rmdir_example_usage \ "# rmdir /tmp/foo\n"#define rmmod_trivial_usage \ "[OPTION]... [MODULE]..."#define rmmod_full_usage \ "Unloads the specified kernel modules from the kernel.\n\n" \ "Options:\n" \ "\t-a\tTry to remove all unused kernel modules."#define rmmod_example_usage \ "$ rmmod tulip\n"#define route_trivial_usage \ "[{add|del|flush}]"#define route_full_usage \ "Edit the kernel's routing tables"#define rpm2cpio_trivial_usage \ "package.rpm"#define rpm2cpio_full_usage \ "Outputs a cpio archive of the rpm file."#define sed_trivial_usage \ "[-nef] pattern [files...]"#define sed_full_usage \ "Options:\n" \ "\t-n\t\tsuppress automatic printing of pattern space\n" \ "\t-e script\tadd the script to the commands to be executed\n" \ "\t-f scriptfile\tadd the contents of script-file to the commands to be executed\n" \ "\n" \ "If no -e or -f is given, the first non-option argument is taken as the\n" \ "sed script to interpret. All remaining arguments are names of input\n" \ "files; if no input files are specified, then the standard input is read."#define sed_example_usage \ "$ echo "foo" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \ "bar\n"#define setkeycodes_trivial_usage \ "SCANCODE KEYCODE ..."#define setkeycodes_full_usage \ "Set entries into the kernel's scancode-to-keycode map,\n" \ "allowing unusual keyboards to generate usable keycodes.\n\n" \ "SCANCODE may be either xx or e0xx (hexadecimal),\n" \ "and KEYCODE is given in decimal"#define setkeycodes_example_usage \ "$ setkeycodes e030 127\n"#define lash_trivial_usage \ "[FILE]...\n" \ "or: sh -c command [args]..."#define lash_full_usage \ "lash: The BusyBox LAme SHell (command interpreter)"#define lash_notes_usage \"This command does not yet have proper documentation.\n" \"\n" \"Use lash just as you would use any other shell. It properly handles pipes,\n" \"redirects, job control, can be used as the shell for scripts, and has a\n" \"sufficient set of builtins to do what is needed. It does not (yet) support\n" \"Bourne Shell syntax. If you need things like "if-then-else", "while", and such\n" \"use ash or bash. If you just need a very simple and extremely small shell,\n" \"this will do the job."#define sleep_trivial_usage \ "N"#define sleep_full_usage \ "Pause for N seconds."#define sleep_example_usage \ "$ sleep 2\n" \ "[2 second delay results]\n"#ifdef BB_FEATURE_SORT_UNIQUE #define USAGE_SORT_UNIQUE(a) a#else #define USAGE_SORT_UNIQUE(a)#endif#ifdef BB_FEATURE_SORT_REVERSE #define USAGE_SORT_REVERSE(a) a#else #define USAGE_SORT_REVERSE(a)#endif#define sort_trivial_usage \ "[-n" USAGE_SORT_REVERSE("r") USAGE_SORT_UNIQUE("u") "] [FILE]..."#define sort_full_usage \ "Sorts lines of text in the specified files\n\n"\ "Options:\n" \ USAGE_SORT_UNIQUE("\t-u\tsuppress duplicate lines\n") \ USAGE_SORT_REVERSE("\t-r\tsort in reverse order\n") \ "\t-n\tsort numerics"#define sort_example_usage \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -