code: def md5sum(filename, use_sudo=False):
      
      runner = sudo if use_sudo else run
      with hide('commands'):
          return runner("md5sum '{}'".format(filename)).split()[0]
docs: Return md5sum of remote file