Busybox – How to Check Busybox Version

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?

Best Answer

Invoke the busybox binary as busybox, and you get a line with the Busybox version, a few more lines of fluff, and the list of utilities included in the binary.

busybox | head -1

Most utilities show a usage message if you call them with --help, with the version number in the first line.

ls --help 2>&1 | head -1
Related Question