[Shell] Help us improve #cz2 Handle invalid commands

Hey @zbeers, it looks like the issue was caused by an extra \n, since print already appends a newline by default: