4 command line note-taking applications for Linux

These practical tools let you take notes and save information simply and efficiently from the Linux command line.
369 readers like this.
Note taking hand writing

Nguyen Nguyen , via Pexels CC0.

When you need to save a code snippet or a URL, an idea or a quote, you probably fire up a text editor or turn to a desktop or web-based note-taking tool. But those aren't your only options. If you spend time working in terminal windows, you can use one of the many note-taking tools available for the Linux command line.

Let's take a look at four of those apps.



tnote makes taking notes in a terminal window very simple—almost too simple.

tnote is a single Python script. When you start it for the first time, it asks you to enter a password and a passphrase to encrypt the SQLite database that stores your notes. Once you've done that, press "A" to create a note. Type your note, then press CTRL-D to save it.

Once you have a few (or more than a few) notes, you can view them or search for specific ones, words or phrases, or tags. tnote doesn't pack a lot of features, but it does get the job done.

Terminal Velocity

terminal velocity

If you've used Mac OS, you might have come across a popular open source note-taking application called Notational Velocity, a simple and effective way to take notes. Terminal Velocity does a good job of bringing the Notational Velocity experience to the command line.

Terminal Velocity opens your default text editor (set by the $EDITOR variable in your .profile or .bashrc file). Type your note, then save it. The note appears in the list in the Terminal Velocity window.

Use the arrow keys on your keyboard to scroll through your list of notes. To view or edit a note, press Enter. If you have a long list of notes, you can enter the first few characters of the note's title in the Find or Create field to narrow down the list. From there, scroll to the note and press Enter to open it.



Of the four applications in this article, pygmynote is probably the least user-friendly. It is, however, the most flexible.

Like tnote, pygmynote saves your notes and attachments in an SQLite database. When you fire it up, pygmynote doesn’t look particularly useful. At any time, type help and press Enter to get a list of commands.

You can add and edit notes, view and search for them, and add tags to your notes. Tags make finding notes easier, especially if you have a lot of them.

What gives pygmynote flexibility is its ability to add attachments to your notes. Those attachments can be anything: an image, a text or word processor file, a PDF, a spreadsheet, or anything else relevant to the note.


jrnl screenshot

jrnl is the odd application out here. As you've probably guessed from its name, jrnl is intended to be a journaling tool. But that doesn't mean you can't take notes with it. jrnl does that job very well.

When you first start jrnl, it asks you where you want to put the file journal.txt (which stores your notes), and if you want to password-protect the file. If you decide to add a password, you need to enter it whenever you do anything with the application.

You can enter notes in two ways: directly from the command line, or with your computer's default editor. You can add tags—for example,@opensource.com—to your notes, and give them a date and timestamp. Adding tags and dates can help you search for your notes (jrnl has a pretty decent search feature) if you have a lot of them.

Since jrnl saves your notes in a plain text file, you can sync it across your devices using ownCloud, Nextcloud, or whatever file sharing/syncing service your prefer.

Do you have a favorite tool or hack for taking notes at the command line? Feel free to share it with the community by leaving a comment.

That idiot Scott Nesbitt ...
I'm a long-time user of free/open source software, and write various things for both fun and profit. I don't take myself all that seriously and I do all of my own stunts.


I am more of a GUI guy... :D I am using RedNotebook ! :)

I wrote PFT which is a static blog and web site generator for the command line. I use it very often for notetaling at work. If you are interested in this kind of tools you might find it useful. It is GPL3 licensed and availacle in CPAN and Fedora


Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.