← 返回命令列表

Linux command

toybox 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List

toybox

Example

toybox [command] [arguments]

List

toybox ls

Remove

toybox rm [path/to/file]

Example

toybox [command] --help

Example

toybox --version

说明

toybox is a multipurpose tool that combines many standard Unix utilities into a single executable. It provides lightweight implementations of common commands like ls, rm, cp, and many others. Toybox is commonly used in Android and embedded Linux systems where minimizing binary size is important. Running toybox without arguments lists all available built-in commands.

参数

--help
Display help for a command.
--version
Display version information.
--long
List commands with their suggested installation paths.
--install _dir_
Create symlinks in _dir_ for each built-in command.

FAQ

What is the toybox command used for?

toybox is a multipurpose tool that combines many standard Unix utilities into a single executable. It provides lightweight implementations of common commands like ls, rm, cp, and many others. Toybox is commonly used in Android and embedded Linux systems where minimizing binary size is important. Running toybox without arguments lists all available built-in commands.

How do I run a basic toybox example?

Run `toybox` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --help do in toybox?

Display help for a command.