less
command on Ubuntu allows to peek inside different kinds of archives from terminal. For example, all of these commands would show me the list of files in each of the four archives:
less archive.zip
less archive.tar.gz
less archive.tar.bz2
less archive.7z
On MacOS, I can use vim
for this. However, this is less convenient, because Vim requires four buttons to be pressed to exit it (:q
+ return) instead of one (q
).
Is there an equivalently fast way to see list of files in archives for MacOS?
Asked by Andriy Makukha
(559 rep)
Jul 17, 2019, 01:42 PM
Last activity: Dec 29, 2023, 02:30 PM
Last activity: Dec 29, 2023, 02:30 PM