ledger
A powerful, double-entry accounting system. tldr-pages
On several platforms
Several platforms
Print a balance report showing totals
ledger balance --file path/to/ledger.journalIdentifyList all postings in Expenses ordered by amount
ledger register expenses --sort amountIdentifyPrint total Expenses other than Drinks and Food
ledger balance Expenses and not (Drinks or Food)IdentifyPrint a budget report
ledger budgetIdentifyPrint summary information about all the postings
ledger statsIdentify