– tar is a very useful command in Linux to bundle files into one single file.
– It is very extensively used into various day-to-day operations by the Linux system administrators.
– Having knowledge of tar command is very indeed recommended.
Examples:
1. To create an archive |
2. To display the content of the tar ball |
3. To extract the tar ball |
4. To add / append a file into the tar ball |
5. To delete / remove a files from the tar ball |
6. Extract single file from tar ball |
7. Extract multiple files from tar ball |
8. Extract group of files from tar ball
|
9. Add / append files or directories to tar ball |
10. To verify the tar ball |
11. Finding the difference between gzip archive file and file system |
12. Finding the difference between bzip2 archive file and file system |
13. Creating a gzipped tar ball/archive |
14. Creating a bzip2 tar ball/archive |
15. Extract gzip / bzip2 tar ball |
16. List the contents for gzip / bzip2 tar ball |
17. Extract single files from gzip / bzip2 tar archives |
18. Extract group of files from gzip / bzip2 tar archives |
19. To take the backup of any file system |
20. To backup your system |