TAR command help

I am creating TAR from list of flies.

tar -cvf abc_xyz.tar -T /opt/oracle/file_list.lst

and I am getting the follwing error :

tar: Removing leading `/' from member names

how to fix this error ?

Thanks in advance.

It's not an error, it's a harmless warning.

It means that, internally, the file and path will be stored as opt/oracle/file_list.lst

but, after creating TAR using syntax above , during the exatrct :

e.g.

/opt/tmp/perl5.16.3/lib/site_perl/5.16.3/x86_64-linux/DBD/Oracle.pm

and after done with extract :

ls -la /opt/tmp/perl5.16.3/lib/site_perl/5.16.3/x86_64-linux/DBD/Oracle.pm
ls: cannot access /opt/tmp/perl5.16.3/lib/site_perl/5.16.3/x86_64-linux/DBD/Oracle.pm: No such file or directory

it's showing in TAR and showed that it extracted , but, it's not there ....

Thanks
Uma

What folder were you in? That's where it extracted, currentfolder/opt/oracle/file_list

If you want it to extract in a different folder, tell it to extract in a different folder, by tar -C / -zxf filename