Questions tagged [busybox]

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

BusyBox (“the Swiss Army knife of embedded Linux”) combines common command-line utilities into a single executable. It includes a shell, file utilities such as ls and cp, text utilities such as grep and sed, basic system utilities such as init and syslogd, system administration utilities such as fsck and sysctl, networking utilities such as ping and ifconfig, and more. It is intended for small Linux systems such as boot floppies and embedded devices.

External links

434 questions
24
votes
5 answers

How do I check busybox version (from busybox)?

I'm using busybox in a embedded system, and I would like to check its version. How do I check the busybox version from within busybox?
The Student
  • 3,529
3
votes
1 answer

How do I get the type of internal card reader?

I have a Linux box which runs Busybox. There are two card reader build in. How can I get the type of the card readers? I tried lshw, hwinfo and lspci but these commands are not implemented on Busybox. Hello Stéphane Chazelas, Thank you very much…
musbach
  • 321
2
votes
3 answers

Reasons for Busybox on Current Systems

Being initially developed for use on a floppy-sized bootable system, busybox was designed with a small memory footprint in mind. Today it is used not only on actually small systems like routers and maybe washing machines and microwave ovens, but…
bot47
  • 1,268
1
vote
0 answers

lsblk alternative for busybox?

I installed busybox on my Android device. The command list is very long but lsblk is no supported as this log shows: ... Currently defined functions: [, [[, acpid, adjtimex, ar, arp, ash, awk, base64, basename, bbconfig, beep, blkdiscard, blkid,…
zomega
  • 972
1
vote
1 answer

what does the -s option in busybox --install [-s] [DIR] stand for?

When typing busybox --help, one of the usages is: busybox --install [-s] [DIR]. What does the -s option stand for?
Huzi
  • 382
1
vote
2 answers

which utilities busybox does replace?

I know one can list what commands are enabled in busybox with the $busybox command, but I was curious as to which utilities/packages busybox actually can replace (say util-linux, pciutils, usbutils, coreutils, binutils, findutils, etc).
1
vote
0 answers

Busybox locale not found

I install a Dockerfile from busybox but when I input "locale" or "locale -a", the command line return "sh: locale: not found". How can I fix this?
Leeafay
  • 11
1
vote
1 answer

How to start a service in Netgear R7000(stock firmware)

I am working on Netgear R7000 build system(stock firmware).I want to start a service.I noticed that init is linked to busybox and busybox init does not use run levels.I have written a script in init.d/ but it is not run as there is no symlink…
Kalu
  • 469
1
vote
0 answers

Broken pipe with busybox

I have written a script which executes in init-bottom within the initram. So it uses busybox for the commands. I included gzip from my distro to initram (gzip 1.5 went to /bin). This is causing a "broken pipe"-error. I do not understand why: find .…
0
votes
1 answer

Is it possible to build Busybox statically linked to Musl libc?

It seems like the answer is no, I just want to make sure I'm not doing anything wrong. I can't find a way to tell Busybox .config that I want to build for musl and not glibc, but it seems the Busybox code base requires glibc extensions these days…
0
votes
1 answer

esx busybox shell script, reading line by line from a variable using while

I have a big file called file1 on my ESX host. I run some awk command on the file and extract useful blocks of data into a variable which works fine on the busybox shell. Now I want to read from that variable (info) line by line, change something…
0
votes
1 answer

I want to run a command in background without cron with specific time

My command is ppp-ublox-on to activate GSM ppp0. After 25 minutes interval the PPP0 disconnect .and I need to run the command ppp-ublox -on again manually. I am using busy box. ppp-ublox-on script is as below #!/bin/sh # # Script to initiate a ppp…
Awais
  • 1
0
votes
1 answer

Running top in Busybox

when I ran TOP command in Busy box, I just wanted to know if VSZ% is MEM%, if not how can get MEM% with TOP command in Busy box