code: def list_tar (archive, compression, cmd, verbosity, interactive):
      
      cmdlist = [cmd, '--list']
      add_tar_opts(cmdlist, compression, verbosity)
      cmdlist.extend(["--file", archive])
      return cmdlist
docs: List a TAR archive.