LinuxCommandLibrary

kb

Minimalist command line knowledge base manager

TLDR

Add a new note to the knowledge base
$ kb add "[title]" -c "[category]"
copy
List all notes
$ kb list
copy
List notes filtered by category
$ kb list -c "[category]"
copy
Search notes by title or content
$ kb grep "[pattern]"
copy
View a specific note
$ kb view "[title]"
copy
Edit a note
$ kb edit "[title]"
copy
Delete a note
$ kb delete "[title]"
copy
Export the knowledge base
$ kb export
copy

SYNOPSIS

kb command [options] [arguments]

DESCRIPTION

kb is a text-oriented minimalist command-line knowledge base manager designed for software developers, penetration testers, students, and anyone who needs to collect and organize notes efficiently. It supports categorization, tagging, and full-text search of notes.
Although primarily targeted at text-based note collection, kb also supports non-text files such as images, PDFs, and videos. Notes can be filtered by title, category, tags, and other metadata.

CAVEATS

Requires Python 3.6 or above. Knowledge base data is stored locally. No built-in sync across devices.

HISTORY

kb was created by gnebbia and is written in Python. It was designed as a quick note collection and access tool with a focus on simplicity and efficiency.

SEE ALSO

tldr(1), cheat(1), nb(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard