Browse Your Bash HistoryLike Never Before
hline is a fast, powerful terminal UI for navigating bash history with centered-cursor scrolling, live filtering, sorting, and multi-select capabilities.
Quick Start
Get hline up and running in seconds
Install hline
Install hline from GitHub Releases with a single command:The installer will detect your platform and install the binary to
~/.local/bin/hline.Make sure
~/.local/bin is in your PATH. Add export PATH="$HOME/.local/bin:$PATH" to your shell profile if needed.Launch the TUI
Run hline to browse your bash history:By default, hline reads from
~/.bash_history. You’ll see a centered-cursor interface with your command history.Features
Everything you need to navigate your bash history efficiently
Centered Cursor
Smooth scrolling with the cursor always centered on screen, making it easy to browse large history files without losing your place.
Live Search
Filter commands in real-time with case-insensitive search. Type
/ to enter search mode and see results instantly.Flexible Sorting
Sort by recency, alphabetical order, or command length. Cycle through modes with
s and reverse direction with S.Multi-Select
Select multiple commands with Space, select all visible with
a, and copy to clipboard with y. Perfect for batch operations.Vi-Style Keybindings
Familiar navigation with
j/k, g/G for jumps, Ctrl+d/Ctrl+u for half-page scrolls, and more.Custom History Path
Browse any history file with the
--file option. Great for analyzing history from other systems or users.Explore the Documentation
Learn how to get the most out of hline
Ready to get started?
Install hline and start browsing your bash history with powerful navigation and search capabilities.