My Linux Learning Path
Most persons have difficulties with tar because ignores options order. File option f must be the last. Do Linux to learn Linux. Remember that if you don´t remember an option, use man tar in terminal.
Set ~/Desktop/ the current directory. Next, create two folders: Part1 (files: File1, File2, File3) and Part2 (files: File4, File5, File6), considering arbitrary content in each file.
- Create a tar file Program.tar with no content. Any Error?
- Create a tar file Program1.tar with folder Part1 only.
- Create a tar file Program2.tar with folders Part1 and Part2.
- Append folder Part2 to Program1.tar.
- Modify File1 and identify how to update Program1.tar file.
- Identify the content of Program2.tar on the screen.
- Untar Program1.tar to folder ~/Desktop/MyPrograms/
- Compress Program1.tar. using gzip.
- Create a compress tar file Program3.tar.gz that contains folders Part1 and Part2.
- Repeat previous exercise but this time use bzip2.
- Compress Program2.tar using gzip.
- Compress Program2.tar using bzip2.
- Decompress previous two files to different folders.
No comments:
Post a Comment