I use busybox with buildroot on apf51 board. In the console, I can recall a previously typed command with the "up arrow" or search in the command list with Ctrl+g
.
But the command history
doesn't exist:
# history
-sh: history: not found
Is there a way to list previously typed commands with busybox ?
Since BusyBox is using ash, you should be able to read the history from the ~/.ash_history file like:
$ tail ~/.ash_history