0
Thanks

A few words of thanks would be greatly appreciated.

Shell - Viewing a binary file: Terminal illegible




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]
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
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).

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!