⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 busybox.txt

📁 手机嵌入式Linux下可用的busybox源码
💻 TXT
📖 第 1 页 / 共 4 页
字号:
        This command does not yet have proper documentation.        Use lash just as you would use any other shell. It properly handles        pipes, redirects, job control, can be used as the shell for scripts,        and has a sufficient set of builtins to do what is needed. It does        not (yet) support Bourne Shell syntax. If you need things like        "if-then-else", "while", and such use ash or bash. If you just need        a very simple and extremely small shell, this will do the job.        -------------------------------    length        length STRING        Prints out the length of the specified STRING.        Example:                $ length Hello                5        -------------------------------    ln  ln [OPTION] TARGET... LINK_NAME|DIRECTORY        Create a link named LINK_NAME or DIRECTORY to the specified TARGET        You may use '--' to indicate that all following arguments are        non-options.        Options:                -s      make symbolic links instead of hard links                -f      remove existing destination files                -n      no dereference symlinks - treat like normal file        Example:                $ ln -s BusyBox /tmp/ls                $ ls -l /tmp/ls                lrwxrwxrwx    1 root     root            7 Apr 12 18:39 ls -> BusyBox*        -------------------------------    loadacm        loadacm < mapfile        Loads an acm from standard input.        Example:                $ loadacm < /etc/i18n/acmname        -------------------------------    loadfont        loadfont < font        Loads a console font from standard input.        Example:                $ loadfont < /etc/i18n/fontname        -------------------------------    loadkmap        loadkmap < keymap        Loads a binary keyboard translation table from standard input.        Example:                $ loadkmap < /etc/i18n/lang-keymap        -------------------------------    logger        logger [OPTION]... [MESSAGE]        Write MESSAGE to the system log. If MESSAGE is omitted, log stdin.        Options:                -s      Log to stderr as well as the system log.                -t      Log using the specified tag (defaults to user name).                -p      Enter the message with the specified priority.                        This may be numerical or a ``facility.level'' pair.        Example:                $ logger "hello"        -------------------------------    logname        logname        Print the name of the current user.        Example:                $ logname                root        -------------------------------    logread        logread        Shows the messages from syslogd (using circular buffer).        -------------------------------    losetup        losetup [OPTION]... LOOPDEVICE [FILE]        Associate LOOPDEVICE with FILE.        Options:                -d              Disassociate LOOPDEVICE.                -o OFFSET       Start OFFSET bytes into FILE.        -------------------------------    ls  ls [-1AacCdeFilnpLRrSsTtuvwxXhk] [filenames...]        List directory contents        Options:                -1      list files in a single column                -A      do not list implied . and ..                -a      do not hide entries starting with .                -C      list entries by columns                -c      with -l: show ctime                -d      list directory entries instead of contents                -e      list both full date and full time                -F      append indicator (one of */=@|) to entries                -i      list the i-node for each file                -l      use a long listing format                -n      list numeric UIDs and GIDs instead of names                -p      append indicator (one of /=@|) to entries                -L      list entries pointed to by symbolic links                -R      list subdirectories recursively                -r      sort the listing in reverse order                -S      sort the listing by file size                -s      list the size of each file, in blocks                -T NUM  assume Tabstop every NUM columns                -t      with -l: show modification time                -u      with -l: show access time                -v      sort the listing by version                -w NUM  assume the terminal is NUM columns wide                -x      list entries by lines instead of by columns                -X      sort the listing by extension                -h      print sizes in human readable format (e.g., 1K 243M 2G )                -k      print sizes in kilobytes(default)        -------------------------------    lsmod        lsmod        List the currently loaded kernel modules.        -------------------------------    makedevs        makedevs NAME TYPE MAJOR MINOR FIRST LAST [s]        Creates a range of block or character special files        TYPEs include:                b:      Make a block (buffered) device.                c or u: Make a character (un-buffered) device.                p:      Make a named pipe. MAJOR and MINOR are ignored for named pipes.        FIRST specifies the number appended to NAME to create the first        device. LAST specifies the number of the last item that should be        created. If 's' is the last argument, the base device is created as        well.        For example:                makedevs /dev/ttyS c 4 66 2 63   ->  ttyS2-ttyS63                makedevs /dev/hda b 3 0 0 8 s    ->  hda,hda1-hda8        Example:                $ makedevs /dev/ttyS c 4 66 2 63                [creates ttyS2-ttyS63]                $ makedevs /dev/hda b 3 0 0 8 s                [creates hda,hda1-hda8]        -------------------------------    md5sum        md5sum [OPTION] [FILE]... or: md5sum [OPTION] -c [FILE]        Print or check MD5 checksums.        Options: With no FILE, or when FILE is -, read standard input.                -b      read files in binary mode                -c      check MD5 sums against given list                -t      read files in text mode (default)                -g      read a string        The following two options are useful only when verifying checksums:                -s      don't output anything, status code shows success                -w      warn about improperly formated MD5 checksum lines        Example:                $ md5sum < busybox                6fd11e98b98a58f64ff3398d7b324003                $ md5sum busybox                6fd11e98b98a58f64ff3398d7b324003  busybox                $ md5sum -c -                6fd11e98b98a58f64ff3398d7b324003  busybox                busybox: OK                ^D        -------------------------------    mkdir        mkdir [OPTION] DIRECTORY...        Create the DIRECTORY(ies) if they do not already exist        Options:                -m      set permission mode (as in chmod), not rwxrwxrwx - umask                -p      no error if existing, make parent directories as needed        Example:                $ mkdir /tmp/foo                $ mkdir /tmp/foo                /tmp/foo: File exists                $ mkdir /tmp/foo/bar/baz                /tmp/foo/bar/baz: No such file or directory                $ mkdir -p /tmp/foo/bar/baz        -------------------------------    mkfifo        mkfifo [OPTIONS] name        Creates a named pipe (identical to 'mknod name p')        Options:                -m      create the pipe using the specified mode (default a=rw)        -------------------------------    mkfs_minix        mkfs_minix [-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]        Make a MINIX filesystem.        Options:                -c              Check the device for bad blocks                -n [14|30]      Specify the maximum length of filenames                -i INODES       Specify the number of inodes for the filesystem                -l FILENAME     Read the bad blocks list from FILENAME                -v              Make a Minix version 2 filesystem        -------------------------------    mknod        mknod [OPTIONS] NAME TYPE MAJOR MINOR        Create a special file (block, character, or pipe).        Options:                -m      create the special file using the specified mode (default a=rw)        TYPEs include:                b:      Make a block (buffered) device.                c or u: Make a character (un-buffered) device.                p:      Make a named pipe. MAJOR and MINOR are ignored for named pipes.        Example:                $ mknod /dev/fd0 b 2 0                 $ mknod -m 644 /tmp/pipe p        -------------------------------    mkswap        mkswap [-c] [-v0|-v1] device [block-count]        Prepare a disk partition to be used as a swap partition.        Options:                -c              Check for read-ability.                -v0             Make version 0 swap [max 128 Megs].                -v1             Make version 1 swap [big!] (default for kernels >                                2.1.117).                block-count     Number of block to use (default is entire partition).        -------------------------------    mktemp        mktemp [-q] TEMPLATE        Creates a temporary file with its name based on TEMPLATE. TEMPLATE        is any name with six `Xs' (i.e., /tmp/temp.XXXXXX).        Example:                $ mktemp /tmp/temp.XXXXXX                /tmp/temp.mWiLjM                $ ls -la /tmp/temp.mWiLjM                -rw-------    1 andersen andersen        0 Apr 25 17:10 /tmp/temp.mWiLjM        -------------------------------    modprobe        modprobe modprobe [ -adnqv ] [ -C config ] module [ symbol=value ...        ] modprobe [ -adnqv ] [ -C config ] [ -t type ] pattern modprobe -l        [ -C config ] [ -t type ] pattern modprobe -c [ -C config ] modprobe        -r [ -dnv ] [ -C config ] [ module ...] modprobe -V        Used to load kernel modules and automatically load their        dependancies.USAGE:                modprobe         [  -adnqv  ] [ -C config ] module [ symbol=value ... ]                modprobe [ -adnqv ] [ -C config ] [ -t type ] pattern                modprobe -l [ -C config ] [ -t type ] pattern                modprobe -c [ -C config ]                modprobe -r [ -dnv ] [ -C config ] [ module ...]                modprobe -V        OPTIONS                -a (*** not supported ***)                   Load all matching modules instead of stopping after                   the first successful loading.                -c (*** not supported ***)                   Show the currently used configuration.                -d                   Show  information about the internal representation                   of the stack of modules.                -k                   Set 'autoclean' on loaded     modules.   Used  by  the                   kernel  when it calls on modprobe to satify a miss

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -