Get the latest tech news
Logging Shell Commands in BusyBox? Yes, You Can Now
In an earlier post , I showed how to log every shell command to a remote server using PROMPT_COMMAND in bash . It’s a neat trick, especia...
BusyBox ash is designed to be small, fast, and simple; which means it skips the bells and whistles you’d find in a full shell like bash. This pattern keeps the code clean, avoids nasty cross-module hacks, and is totally in line with how BusyBox handles similar internal wiring elsewhere. When sending your patch, address it to the mailing list and, if your change affects a specific applet, CC the maintainer named in the file’s header.
Or read this on Hacker News