mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 23:15:24 +02:00
ledger: add page (#6730)
This commit is contained in:
parent
091b7c10e8
commit
8fa90243c8
1 changed files with 24 additions and 0 deletions
24
pages/common/ledger.md
Normal file
24
pages/common/ledger.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# ledger
|
||||
|
||||
> Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line.
|
||||
> More information: <https://www.ledger-cli.org>.
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue