diff --git a/pages/common/ledger.md b/pages/common/ledger.md new file mode 100644 index 0000000000..15b3f02e47 --- /dev/null +++ b/pages/common/ledger.md @@ -0,0 +1,24 @@ +# ledger + +> Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line. +> More information: . + +- Print a balance report showing totals: + +`ledger balance --file {{path/to/ledger.journal}}` + +- List all postings in Expenses ordered by amount: + +`ledger register {{expenses}} --sorted {{amount}}` + +- Print total Expenses other than Drinks and Food: + +`ledger balance {{Expenses}} and not ({{Drinks}} or {{Food}})` + +- Print a budget report: + +`ledger budget` + +- Print summary information about all the postings: + +`ledger stats`