On Linux in a bash shell, I have a text file with long lines and would like to look at the first few characters of the the first few lines. Thus, I need something like head
, but with the ability to limit the number of characters printed per line.
What would the simplest way to do this?