title: "head" command for aws s3 to view file contents
body: <p>On Linux, we generally use the head/tail commands to preview the contents of a file. It helps in viewing a part of the file (to inspect the format for instance), rather than open up the whole file.</p>
  
  <p>In the case of Amazon S3, it seems that there are only ls, cp, mv etc. <a href="http://docs.aws.amazon.com/cli/latest/reference/s3/" rel="noreferrer">commands</a> I wanted to know if it is possible to view part of the file without downloading the entire file on my local machine using cp/GET.</p>