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