Shell - Viewing a binary file: Terminal illegible

January 2017




Issue


When you unintentionally display contents of a binary file (e.g. cat /bin/mount | more), it may happens that the terminal displays characters which are not printable, causing the display of totally unreadable special characters.

Solution


In such cases, if a CTRL-L is not enough simply type:

echo [CTRL]+v [Esc] c [Enter]

Related


Published by netty5. Latest update on April 26, 2010 at 11:29 AM by deri58.
This document, titled "Shell - Viewing a binary file: Terminal illegible," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).