Linux tar Command Tutorial with Examples: .tar, .tar.gz, .tgz

preview_player
Показать описание
For a tar cheat sheet visit:

In this video you will learn:

* How to compress and extract tar and tgz files.
* How to use gzip and gunzip.
* The difference between “tar cvf” and “tar -cvf” (notice the hyphen…)
* Some bonus command line tips to speed up working with tar (and any other type of) files.
* How to create Linux backups with tar.

Download your tar cheat sheet here:

Learn more about the Linux Administration Bootcamp Course here:
Рекомендации по теме
Комментарии
Автор

Do you use tar with a hyphen or without? (tar -zcvf file.tgz . vs tar zcvf file.tgz)

LinuxTrainingAcademy
Автор

Very informative, hope there will be more, thanks :)

shater
Автор

You warn people about overwriting via extracting tars.
You don't warn people about how dangerous "rm -rf" is.
lolwut?

encyclpedia-
Автор

Nice Video. I have a question here. I have a tar.bz2 file in Download and I would like to use : tar -xjf. So, when I do: tar -xjf /Downloads/tool-chain /tool-chain-src.tar.bz2
It does not work. Can you assist me? I want to copy the source files for the tool-chain by using tar -xjf I have the folder "tool-chain"

itonzambanzamba