I would like to read only the first 8 characters of a text file and save it to a variable in bash. Is there a way to do this using just bash?