Removed a newline to clean up output
Revert "Removed a newline to clean up output"

This reverts commit 34c45f8d7218b9c53648371047efef6ffad34395.
Revert "Revert "Removed a newline to clean up output""

This reverts commit bf4070ca478cb79aa0cc0719c5011f3a1ec62c80.
Fixed problem with 'ls' command not working after 'ls -la'

Flushed out the cmd array after every use