linux busybox命令大全,BusyBox_命令指南.pdf

BusyBox_命令指南

BusyBox - The Swiss Army Knife of Embedded Linux

NAME

BusyBox - The Swiss Army Knife of Embedded Linux

SYNTAX

busybox [arguments...] # or

[arguments...] # if symlinked

DESCRIPTION

BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It

provides minimalist replacements for most of the utilities you usually find in GNU coreutils, util-linux, etc.

The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the

options that are included provide the expected functionality and behave very much like their GNU counterparts.

BusyBox has been written with size-optimization and limited resources in mind. It is also extremely modular so

you can easily include or exclude commands (or features) at compile time. This makes it easy to customize

your embedded systems. To create a working system, just add /dev, /etc, and a Linux kernel. BusyBox provides

a fairly complete POSIX environment for any small or embedded system.

BusyBox is extremely configurable. This allows you to include only the components you need, thereby

reducing binary size. Run 'make config' or 'make menuconfig' to select the functionality that you wish to

enable. Then run 'make' to compile BusyBox using your configuration.

After the compile has finished, you should use 'make install' to install BusyBox. This will install the 'bin/

busybox' binary, in the target directory specified by CONFIG_PREFIX. CONFIG_PREFIX can be set when

configuring BusyBox, or you can specify an alternative location at install time (i.e., with a command line like

'make CONFIG_PREFIX=/tmp/foo install'). If you enabled any applet installation scheme (either as symlinks

or hardlinks), these will also be installed in the location pointed to by CONFIG_PREFIX.

USAGE

BusyBox is a multi-call binary. A multi-call binary is an executable program that performs the same job as

more than one utility program. That means there is just

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值