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

📄 busybox.1

📁 手机嵌入式Linux下可用的busybox源码
💻 1
📖 第 1 页 / 共 4 页
字号:
.SpSend a signal (default is \s-1SIGTERM\s0) to the specified process(es)..SpOptions:.Sp.Vb 1\&        -l      List all signal names and numbers..VeExample:.Sp.Vb 1\&        $ killall apache.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBklogd\fR" 4.IX Item "klogd"klogd \fB\-n\fR.SpKernel logger.Options:.Sp.Vb 1\&        -n      Run as a foreground process..Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBlash\fR" 4.IX Item "lash"lash [\s-1FILE\s0]...or: sh \fB\-c\fR command [args]....Splash: The BusyBox LAme SHell (command interpreter).SpThis command does not yet have proper documentation..SpUse 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 asufficient set of builtins to do what is needed.  It does not (yet) supportBourne Shell syntax.  If you need things like \*(L"if\-then\-else\*(R", \*(L"while\*(R", and suchuse ash or bash.  If you just need a very simple and extremely small shell,this will do the job..Sp\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBlength\fR" 4.IX Item "length"length \s-1STRING\s0.SpPrints out the length of the specified \s-1STRING\s0..SpExample:.Sp.Vb 2\&        $ length Hello\&        5.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBln\fR" 4.IX Item "ln"ln [\s-1OPTION\s0] \s-1TARGET\s0... LINK_NAME|DIRECTORY.SpCreate a link named \s-1LINK_NAME\s0 or \s-1DIRECTORY\s0 to the specified \s-1TARGET\s0.SpYou may use '\-\-' to indicate that all following arguments are non\-options..SpOptions:.Sp.Vb 3\&        -s      make symbolic links instead of hard links\&        -f      remove existing destination files\&        -n      no dereference symlinks - treat like normal file.VeExample:.Sp.Vb 3\&        $ ln -s BusyBox /tmp/ls\&        $ ls -l /tmp/ls\&        lrwxrwxrwx    1 root     root            7 Apr 12 18:39 ls -> BusyBox*.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBloadacm\fR" 4.IX Item "loadacm"loadacm < mapfile.SpLoads an acm from standard input..SpExample:.Sp.Vb 1\&        $ loadacm < /etc/i18n/acmname.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBloadfont\fR" 4.IX Item "loadfont"loadfont < font.SpLoads a console font from standard input..SpExample:.Sp.Vb 1\&        $ loadfont < /etc/i18n/fontname.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBloadkmap\fR" 4.IX Item "loadkmap"loadkmap < keymap.SpLoads a binary keyboard translation table from standard input..SpExample:.Sp.Vb 1\&        $ loadkmap < /etc/i18n/lang-keymap.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBlogger\fR" 4.IX Item "logger"logger [\s-1OPTION\s0]... [\s-1MESSAGE\s0].SpWrite \s-1MESSAGE\s0 to the system log.  If \s-1MESSAGE\s0 is omitted, log stdin..SpOptions:.Sp.Vb 4\&        -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..VeExample:.Sp.Vb 1\&        $ logger "hello".Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBlogname\fR" 4.IX Item "logname"logname 	.SpPrint the name of the current user..SpExample:.Sp.Vb 2\&        $ logname\&        root.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBlogread\fR" 4.IX Item "logread"logread         .SpShows the messages from syslogd (using circular buffer)..Sp\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBlosetup\fR" 4.IX Item "losetup"losetup [\s-1OPTION\s0]... \s-1LOOPDEVICE\s0 [\s-1FILE\s0].SpAssociate \s-1LOOPDEVICE\s0 with \s-1FILE\s0..SpOptions:.Sp.Vb 2\&        -d              Disassociate LOOPDEVICE.\&        -o OFFSET       Start OFFSET bytes into FILE..Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBls\fR" 4.IX Item "ls"ls [\fB\-1AacCdeFilnpLRrSsTtuvwxXhk\fR] [filenames...].SpList directory contents.SpOptions:.Sp.Vb 26\&        -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).Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBlsmod\fR" 4.IX Item "lsmod"lsmod 	.SpList the currently loaded kernel modules..Sp\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBmakedevs\fR" 4.IX Item "makedevs"makedevs \s-1NAME\s0 \s-1TYPE\s0 \s-1MAJOR\s0 \s-1MINOR\s0 \s-1FIRST\s0 \s-1LAST\s0 [s].SpCreates a range of block or character special files.SpTYPEs include:.Sp.Vb 3\&        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..Ve\&\s-1FIRST\s0 specifies the number appended to \s-1NAME\s0 to create the first device.\&\s-1LAST\s0 specifies the number of the last item that should be created.If 's' is the last argument, the base device is created as well..SpFor example:.Sp.Vb 2\&        makedevs /dev/ttyS c 4 66 2 63   ->  ttyS2-ttyS63\&        makedevs /dev/hda b 3 0 0 8 s    ->  hda,hda1-hda8.VeExample:.Sp.Vb 4\&        $ makedevs /dev/ttyS c 4 66 2 63\&        [creates ttyS2-ttyS63]\&        $ makedevs /dev/hda b 3 0 0 8 s\&        [creates hda,hda1-hda8].Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBmd5sum\fR" 4.IX Item "md5sum"md5sum [\s-1OPTION\s0] [\s-1FILE\s0]...or: md5sum [\s-1OPTION\s0] \fB\-c\fR [\s-1FILE\s0].SpPrint or check \s-1MD5\s0 checksums..SpOptions:With no \s-1FILE\s0, or when \s-1FILE\s0 is \-, read standard input..Sp.Vb 4\&        -b      read files in binary mode\&        -c      check MD5 sums against given list\&        -t      read files in text mode (default)\&        -g      read a string.VeThe following two options are useful only when verifying checksums:.Sp.Vb 2\&        -s      don't output anything, status code shows success\&        -w      warn about improperly formated MD5 checksum lines.VeExample:.Sp.Vb 8\&        $ md5sum < busybox\&        6fd11e98b98a58f64ff3398d7b324003\&        $ md5sum busybox\&        6fd11e98b98a58f64ff3398d7b324003  busybox\&        $ md5sum -c -\&        6fd11e98b98a58f64ff3398d7b324003  busybox\&        busybox: OK\&        ^D.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBmkdir\fR" 4.IX Item "mkdir"mkdir [\s-1OPTION\s0] \s-1DIRECTORY\s0....SpCreate the \s-1DIRECTORY\s0(ies) if they do not already exist.SpOptions:.Sp.Vb 2\&        -m      set permission mode (as in chmod), not rwxrwxrwx - umask\&        -p      no error if existing, make parent directories as needed.VeExample:.Sp.Vb 6\&        $ 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.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBmkfifo\fR" 4.IX Item "mkfifo"mkfifo [\s-1OPTIONS\s0] name.SpCreates a named pipe (identical to 'mknod name p').SpOptions:.Sp.Vb 1\&        -m      create the pipe using the specified mode (default a=rw).Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBmkfs_minix\fR" 4.IX Item "mkfs_minix"mkfs_minix [\fB\-c\fR | \fB\-l\fR filename] [\fB\-nXX\fR] [\fB\-iXX\fR] /dev/name [blocks].SpMake a \s-1MINIX\s0 filesystem..SpOptions:.Sp.Vb 5\&        -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.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBmknod\fR" 4.IX Item "mknod"mknod [\s-1OPTIONS\s0] \s-1NAME\s0 \s-1TYPE\s0 \s-1MAJOR\s0 \s-1MINOR\s0.SpCreate a special file (block, character, or pipe)..SpOptions:.Sp.Vb 1\&        -m      create the special file using the specified mode (default a=rw).VeTYPEs include:.Sp.Vb 3\&        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..VeExample:.Sp.Vb 2\&        $ mknod /dev/fd0 b 2 0 \&        $ mknod -m 644 /tmp/pipe p.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBmkswap\fR" 4.IX Item "mkswap"mkswap [\fB\-c\fR] [\fB\-v0\fR|\fB\-v1\fR] device [block\-count].SpPrepare a disk partition to be used as a swap partition..SpOptions:.Sp.Vb 5\&        -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)..Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBmktemp\fR" 4.IX Item "mktemp"mktemp [\fB\-q\fR] \s-1TEMPLATE\s0.SpCreates a temporary file with its name based on \s-1TEMPLATE\s0.\&\s-1TEMPLATE\s0 is any name with six `Xs' (i.e., /tmp/temp.XXXXXX)..SpExample:.Sp.Vb 4\&        $ mktemp /tmp/temp.XXXXXX\&        /tmp/temp.mWiLjM\&        $ ls -la /tmp/temp.mWiLjM\&        -rw-------    1 andersen andersen        0 Apr 25 17:10 /tmp/temp.mWiLjM.Ve\&\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-.IP "\fBmodprobe\fR" 4.IX Item "modprobe"modprobe modprobe	 [  \fB\-adnqv\fR  ] [ \fB\-C\fR config ] module [ symbol=value ... ]modprobe [ \fB\-adnqv\fR ] [ \fB\-C\fR config ] [ \fB\-t\fR type ] patternmodprobe \fB\-l\fR [ \fB\-C\fR config ] [ \fB\-t\fR type ] patternmodprobe \fB\-c\fR [ \fB\-C\fR config ]modprobe \fB\-r\fR [ \fB\-dnv\fR ] [ \fB\-C\fR config ] [ module ...]modprobe \fB\-V\fR.SpUsed to load kernel modules and automatically load their dependancies.USAGE:.Sp.Vb 6\&        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.Ve\&\s-1OPTIONS\s0.Sp.Vb 3\&        -a (*** not supported ***)\&           Load all matching modules instead of stopping after\&           the first successful loading..Ve.Vb 2\&        -c (*** not supported ***)\&           Show the currently used configuration..Ve.Vb 3\&        -d\&           Show  information about the internal representation\&           of the stack of modules..Ve.Vb 6\&        -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 + -