New Z addresses can be generated using the following command:
$ ./zcash-cli z_getnewaddress zcPDBKuuwHJ4gqT5Q59zAMXDHhFoihyTC1aLE5Kz4GwgUXfCBWG6SDr45SFLUsZhpcdvHt7nFmC 3iQcn37rKBcVRa93DYrA
Running the zcash-cli command with the getinfo parameter produces the output shown in the following screenshot. It displays valuable information such as blocks, difficulty, and balance:
New T addresses can be generated using the following command:
$ ./zcash-cli getnewaddress t1XRCGMAw36yPVCcxDUrxv2csAAuGdS8Nny