Using the unzip
unzip -c whatever.war META-INF/MANIFEST.MF
It will print the output in the terminal.
And for extracting all these files,
unzip whatever.war
Using the jar
jar xvf test.war
Note! The jar command will extract war contents to the current directory. Not to a subdirectory (like Tomcat does).
Come and join linux training to gain great knowledge.