In this linux article, we will be looking how to list content of archieve files with user permissions on files in Linux.
Following command is used for it.
tar --list --verbose --file backup.tar
Output is as follows:
As output indicates, we compressed files in given folder to "backup.rar". Option we used for user permissions is:
--verbose: show user permissions on files