print command for viewing output in terminal