To create an archive named abc.tar consisting of two files, file01 and file02, which of the following command will be used?
(a) tar -cvf abc.tar file01 file02
(b) tar -cvf file01 file02 abc.tar
(c) tar -cv abc.tar file01 file02
(d) tar -c abc.tar file01 file02
This question was addressed to me in an internship interview.
This key question is from Compressing and Archiving Files in chapter Handling Ordinary Files of Unix