LinuxCommandLibrary

ledger

Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line.

TLDR

Print a balance report showing totals

$ ledger balance --file [path/to/ledger.journal]
copy


List all postings in Expenses ordered by amount
$ ledger register [expenses] --sorted [amount]
copy


Print total Expenses other than Drinks and Food
$ ledger balance [Expenses] and not ([Drinks] or [Food])
copy


Print a budget report
$ ledger budget
copy


Print summary information about all the postings
$ ledger stats
copy

Copied to clipboard