I want to get the first 20 or so characters from a number of files. I've seen examples using cut but they all seem to get the first 20 characters of each line in the file, while I only want the first characters in the file itself (ie. from the first line), nothing more.Is there a simple way to do this?
Getting first n characters from a file
command line;cut