A simple practical example to use tar:
To tar:
tar -cvf new_tar_file.tar file_or_directory/
To untar
tar -xvf tar_file.tar
To untar bz2
tar -jxvf tar_file.tar.bz2
A simple practical example to use tar:
To tar:
tar -cvf new_tar_file.tar file_or_directory/
To untar
tar -xvf tar_file.tar
To untar bz2
tar -jxvf tar_file.tar.bz2