Replacing history with McFly

Command Line – McFly

© Photo by Shiro hatori on Unsplash

© Photo by Shiro hatori on Unsplash

Article from Issue 265/2022
Author(s):

McFly improves on the venerable history command with a customizable interface and contextualized results.

The history command brings previously used commands forward to use again. So what could be a more appropriate name for a history replacement than the last name of Michael J. Fox's character in Back to the Future? McFly [1] replaces history with an improved interface and more contextualized results that are generated with an AI-based algorithm and an SQLite database. Although no quicker with results than history, McFly offers numerous advantages:

  • Results are displayed full-screen, with basic commands summarized in the titlebar (Figure 1).
  • Information is given about when a result was run and in which directory, if it was not in your home directory, as well as if it failed. Failed results are usually not displayed.
  • Priority is given to the present working directory.
  • Results take into account other commands that in the past were run after the command.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • McFly

    When it comes to working at the command line, using Bash history effectively can save you time. McFly extends the Bash history's features and helps you find past commands more quickly.

  • Don't Know Much About History

    The versatile Bash history command can save you time and effort at the command line.

  • FOSSPicks

    Graham looks at TreeSheets, rare, McFly, b2, DrumGizmo, A/B Street, Xmonk, and much more!

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News