unify the command output

* remove `$` shell prompt
* use the actually called command instead of guessing one
There is no need to change it. In this particular case I think your proposal is better.