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