resi to the command line explanation