print first few chars of a file linux code example Example: get first few characters of file linux head -c20 yourFile.txt