Why this command:
history -c && history -w
works in ssh under Raspbian, and in LibreELEC not? Is there any alternative to clear history?
I found and edited the ".ash_history" file:
I have removed the trash from the history in this file. I do not know why the file is called "ash" instead of "bash".