How to extract text portion of a binary file in linux/bash? Use the strings utility - that's exactly what it's designed for.