BusyBox: Difference between revisions
Prabuanand (talk | contribs) (moved content to Shell management and added link here) |
Prabuanand (talk | contribs) (added wikilinks) |
||
Line 8: | Line 8: | ||
Busybox uses [https://git.busybox.net/busybox/plain/editors/vi.c tiny vi], a small 'vi' clone. Refer [http://k.japko.eu/busybox-vi-tutorial.html Busybox vi tutorial] for an excellent introduction. | Busybox uses [https://git.busybox.net/busybox/plain/editors/vi.c tiny vi], a small 'vi' clone. Refer [http://k.japko.eu/busybox-vi-tutorial.html Busybox vi tutorial] for an excellent introduction. | ||
== udhcpc == | |||
[[udhcpc]] is the default DHCP client that comes inbuilt with Busybox. | |||
== Cron == | |||
[[Cron#Busybox_crond|Busybox crond]] is the default cron implementation in Alpine Linux. | |||
== acpid == | |||
Alpine Linux comes inbuilt with a basic version of [[Power_management#Busybox acpid|acpid]] as part of BusyBox. | |||
== Replacing BusyBox utilities== | == Replacing BusyBox utilities== |
Revision as of 09:42, 20 July 2025
Alpine Linux is built around musl libc and busybox. To minimize footprint, Alpine Linux comes with BusyBox by default. BusyBox provides replacements for most of the utilities usually found in GNU coreutils, util-linux, etc. Built-in utility programs called as applets share code for many common operations. Invoking BusyBox with no argument lists the applets that have been compiled into BusyBox binary. Refer BusyBox Manual for options supported by BusyBox.
Ash shell
Alpine Linux uses Busybox Ash shell for its default shell.
vi
Busybox uses tiny vi, a small 'vi' clone. Refer Busybox vi tutorial for an excellent introduction.
udhcpc
udhcpc is the default DHCP client that comes inbuilt with Busybox.
Cron
Busybox crond is the default cron implementation in Alpine Linux.
acpid
Alpine Linux comes inbuilt with a basic version of acpid as part of BusyBox.
Replacing BusyBox utilities
BusyBox is set up as an endpoint for numerous symlinks that substitute various utilities.The utilities in BusyBox generally have fewer options than their full-featured GNU counterparts. If you find certain utilities in busybox lacking in features or options, it is easy to replace respective endpoints by their equivalent full-featured utilities.