What is command to extract single file from an archieve?

I just want to extract one sigle file from an .ear archieve instead of extracting whole ear.
Can anyone help me on this?

I assume you mean "tar" not "ear".
tar xvf tarfile.name filename

Hi

I mean to say I have one .ear(Enterprise archive) file and I want to extract one file from it.

Enterprise Archived files are compressed jar files. You can simply unpack it using unzip command.

To extract individual files, you can use this

unzip <file.ear> <filename>

Regards,
Kenny N

Hi Kenny,

Thanks for reply. But I donn't want to extract whole package. I just want to extract single file from that package.

Is there any command to achive it?