commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
There is 1 alternative - vote for the best!
useful to find the list of dependencies
This of course assumes that lesspipe is installed. You can view the contents of many, many types of files in this way. Once lesspipe is installed, add to your .bashrc
export LESSOPEN="| /usr/bin/lesspipe %s" less file.jar
export LESSCLOSE="/usr/bin/lesspipe %s %s"
View files in ZIP archive
unzip -l files.zip
This is useful for working out whether the file that you are unzipping is an evil zip file which will create 200 new files in your current direction
If you can do better, submit your command here.
You must be signed in to comment.