SSH history

  • 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".

    Edited once, last by drrak (July 20, 2019 at 11:13 AM).

    • Official Post

    because we only ship ash (already included at busybox) and no bash at all :)

    btw you can do > ~/.ash_history if you wan't to nuke the history