HSTR is a command line utility that brings improved BASH command completion from the history. It aims to make completion easier and faster than Ctrl-R.
By default it parses .bash-history file that is filtered as you type a command substring. Commands are not just filtered, but also ordered by a ranking algorithm that considers number of occurrences, length and timestamp.
Favorite and frequently used commands can be bookmarked. In addition HSTR allows removal of commands from history – for instance with a typo or with a sensitive content.
Website: github.com/dvorka/hstr
Support:
Developer: Martin Dvorak
License: Apache License 2.0

HSTR is written in C and C++. Learn C with our recommended free books and free tutorials. Learn C++ with our recommended free books and free tutorials.
Related Software
| Shell tools | |
|---|---|
| fzf | Command-line fuzzy finder for your shell |
| zoxide | Smarter cd command, inspired by z and autojump |
| broot | Reviewed under our Excellent Utilities series |
| McFly | Also reviewed under our Excellent Utilities series |
| z | Maintains a jump-list of the directories you actually use |
| autojump | Offers a fast way to navigate your filesystem |
| z.lua | Helps you navigate faster by learning your habits |
| HSTR | Bash and zsh shell history suggest box |
| enhancd | Next-generation cd command |
| fzy | Simple, fast fuzzy finder for the terminal |
| Navita | Rapid directory traversal |
| Jump | Quick and fuzzy directory jumper |
| walk | Simple and minimalistic terminal navigator |
| lacy | cd alternative that makes navigating much more efficient |
| DF-SHOW | Directory File Show |
| fz | Adds fuzzy search to tab completion of z |
| v | z for vim |
| pazi | Fast autojump helper |
| jumper | Files/directories jumper |
| cdhist | Linux shell cd history directory stack |
| icd | Shell utility that makes changing directories quicker and more convenient |
| fasd | Command-line productivity booster. It seeks inspiration from autojump, z and v |
| kn | Navigate folders quickly |
| Dongle | Move around deep directory trees |
| cdwe | cd with env vars |
| slingshot | Lightweight tool to browse files in the terminal |
| ff | Manage favourite folders |
| fastdiract | Quick shell navigation and command execution |
| zm | cd for lazy people |
| qcd | Quickly change directory |
| pm | Switch between projects |
| nav | Quickly navigate through directories |
| menucd | Directory browser and changer |
| jmp | The superior cd |
| gump | Smarter cd command |
Read our verdict in the software roundup.
| Alternatives to history | |
|---|---|
| McFly | Excellent replacement for Bash’s ctrl-r functionality |
| Atuin | Replaces your existing shell history with a SQLite database |
| HSTR | Bash and zsh shell history suggest box |
| Bevel | Command line history in an SQLite database |
| hiSHtory | Better shell history |
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

