linux command to list contents of tar file code example Example: list tar contents without extracting tar -tvf archive.tar