Best Free and Open Source Navigation Tools

HSTR – Bash and Zsh shell history suggest box

HSTR is a terminal-based shell history browser for Bash and Zsh. It provides an interactive suggest box for finding and reusing commands from your local history without repeatedly stepping through entries with Ctrl-R.

The interface filters history as you type and is designed for quickly recalling long or infrequently used commands. HSTR can also curate the history itself: favourite commands can be bookmarked, unwanted entries removed and commands containing sensitive information deleted before they are reused by mistake.

This is free and open source software.

Key Features

  • Interactive terminal interface for browsing, filtering and selecting commands from shell history.
  • Works with both Bash and Zsh and can emit configuration snippets for each shell.
  • Searches command history as text is entered, reducing the need to remember an exact command.
  • Ranking is designed to surface useful history entries rather than simply presenting commands in file order.
  • Favourite commands can be bookmarked for faster retrieval.
  • Individual history entries can be removed directly from the interface.
  • Useful for deleting obsolete commands, accidental commands and entries containing sensitive data.
  • Supports command tags for organising and locating frequently used commands.
  • Can be bound into the shell so the selected command is inserted directly at the prompt for editing or execution.
  • Configuration is available through environment variables and generated shell setup.
  • Runs in a terminal and does not require a graphical desktop environment.

Website: github.com/dvorka/hstr
Support:
Developer: Martin Dvorak
License: Apache License 2.0

HSTR
Click for full size

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
fzfCommand-line fuzzy finder for your shell
zoxideSmarter cd command, inspired by z and autojump
brootReviewed under our Excellent Utilities series
McFlyAlso reviewed under our Excellent Utilities series
zMaintains a jump-list of the directories you actually use
autojumpOffers a fast way to navigate your filesystem
z.luaHelps you navigate faster by learning your habits
HSTRBash and zsh shell history suggest box
Zsh-zFast directory jumping based on frecency
enhancdNext-generation cd command
fzySimple, fast fuzzy finder for the terminal
NavitaRapid directory traversal
JumpQuick and fuzzy directory jumper
walkSimple and minimalistic terminal navigator
lacycd alternative that makes navigating much more efficient
DF-SHOWDirectory File Show
fzAdds fuzzy search to tab completion of z
paziFast autojump helper
jumperFiles/directories jumper
cdhistLinux shell cd history directory stack
icdShell utility that makes changing directories quicker and more convenient
SDDynamic directory navigation from the command line
DongleMove around deep directory trees
cdwecd with env vars
fastdiractQuick shell navigation and command execution
zmcd for lazy people
slingshotLightweight tool to browse files in the terminal
qcdQuickly change directory
navQuickly navigate through directories
menucdDirectory browser and changer
knNavigate folders quickly
jmpThe superior cd
gumpSmarter cd command

Read our verdict in the software roundup.

Alternatives to history
McFlyExcellent replacement for Bash’s ctrl-r functionality
AtuinReplaces your existing shell history with a SQLite database
HSTRBash and zsh shell history suggest box
BevelCommand line history in an SQLite database
hiSHtoryBetter shell history

Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted