~]$ vim remediation-backup.zipĪpart from VIM, we can also use ‘ less command‘ to view the contents of above mentioned archive extensions, ~]$ less backup.tgzįor archives with file extension 7z, we can use the following command to see all the contents of the archives folder, ~]$ 7z l backup.7z with extensions zip, tar, tgz, tar.xz, tar.bz2, tbz, ~]$ vim backup.xz If you have a zipped folder, than we can use zip command with ‘ sf‘ options to view all the contents of zipped folder, ~]$ zip -sf remediation-backup.zipĪpart from the above commands, one can also use VIM for checking contents of the archived folder with the above mentioned extensions, i.e. Read more on tar command: 17 useful tar command with practical examples in Linux Same command can also be used for checking the contents of a tar.gz or files with other extensions like tgz, tar.xz, tar.bz2, tbz2 ~]$ tar -tvf If we have an archived folder with tar as extension, we can check the contents of the archive by using the tar command with option ‘t’. View content of an archived/compressed folder without extracting
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |