Next: , Previous: , Up: Tutorial   [Contents]


2.3 Current account and day

By default, the prompt tells you what the current account is and, when you add an account, the current account is set to the account you just created. Several commands act on the current account. You can change the current account with the sa ("switch account") command,

(Checking) :> sa
 0: Checking
 1: Rent
Account: 1
(Rent) :> 

The "list transactions" command is lt. It lists the transactions in the current account,

(Rent) :> lt
2019-04-30 The rent        2000.00

To see how much money is in your accounts, type la (for "list account") (laa lists only Asset accounts, lal lists only Liability accounts, and so on).

(Rent) :> la
Checking         8000.00    8000.00
Rent             2000.00    2000.00

The output has two columns. The first gives the balance in your account on the current day, and the second gives the balance in your account in the future.

To see the current day, use the command cd. To set the current day, use sd.

(Rent) :> sd
Current Day: 
Year [2019]: 2018
Month [4]: 12
Day [30]: 31
(Rent) :> cd
2018-12-31

Now, if we type la, we can see what the account balance would have looked like on 2018-12-31 and what it would be in the future.

(Rent) :> la
Checking        10000.00    8000.00
Rent                0.00    2000.00

To change the day back to the current day, type sd and take all the default options,

(Rent) :> sd
Current Day: 
Year [2019]: 
Month [4]: 
Day [30]:
(Rent) :>

To list only expense accounts (useful for getting an understanding of where you are spending your money),

(Rent) :> lae
Rent         2000.00    2000.00

Next: , Previous: , Up: Tutorial   [Contents]