Sorry for basic question - about zcash miner and entering commands

Hello all , can =someone assist a noob here .
So I downloaded the rc4 and I started the daemon .
I am SSH into amazon EC2 instance and I have no idea how to get back to where I can list commands such as
./src/zcash-cli z_listaddresses…

Can someone instruct me on how to do that ?