• @chitak166
    link
    510 months ago

    I think only some shells support that.

    It is a nice feature, though.

    • @[email protected]
      link
      fedilink
      110 months ago

      Ash is the only one I’m aware of, but that’s primarily going to be found and used on stuff like routers or other embedded devices. Any modern shell can support history. That said, many users will disable it or wipe it on logout for security reasons.

      • @chitak166
        link
        210 months ago

        It’s not just history support. It will provide autocomplete suggestions based on what you’ve already typed and allow you to browse the history of a specific query.

        Zsh is the only shell I’ve used that supports it, using Manjaro.

        My Ubuntu 22.04 server using Bash does not. It only supports the basic history that I think you are referring to where you can just browse the history of all your commands at once.