Тёмный

How to Use Tar on Linux | Command Line Tips from Linode's Top Docs 

Akamai Developer
Подписаться 1 млн
Просмотров 7 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@danielnadar75
@danielnadar75 Год назад
The only video I ever need for understanding tarball and compression! Thanks a lot Jay you are wonderful.
@zameerpashablr
@zameerpashablr Год назад
You are the Genuine Master of Linux in this World. God bless you.
@BillAugersdca
@BillAugersdca Год назад
I always get something useful from watching your videos, thanks mate.
@gracienlebel4824
@gracienlebel4824 Год назад
This tutorials ate awesome, so useful
@baruchben-david4196
@baruchben-david4196 Год назад
When using chown, if your group and user are the same, you can do chown -R name: . The colon implies the group is the same as the user.
@nopenope6272
@nopenope6272 Год назад
its fucking amazing I have to go to RU-vid to get taught shit. taking a college class for linux and they not teaching me shit. dunno why I'm paying for nothing
@siov4279
@siov4279 Месяц назад
googling this question about ubuntu was so much easier for some reason?
@berrywin
@berrywin Год назад
I know this is an example but making a backup of /etc and make all files belong to a non sudo user makes the files unusable.
@keffen611
@keffen611 Год назад
Thanks Jay. What's the difference between etc and /etc?
@shallex5744
@shallex5744 Год назад
/etc means the directory 'etc' located in the root of the filesystem, which is represented by the / character by itself, the full path of the directory being /etc, and is a directory that exists on every Linux system as a place to store system-wide configuration files the etc directory without the slash was a newly-created directory by Jay, which was created in Jay's home directory when he copied it from /etc the full path of Jay's etc copy would be /home/jay/etc, or represented in short as ~/etc, with ~ being shorthand for your own user's home directory, but was simply referred to as 'etc' because Jay was already working from within his own home directory, therefore specifying its full path was unnecessary
@abhishektyagi4428
@abhishektyagi4428 Год назад
@@shallex5744 thanks , also how would you differentiate/understand Trailing slashes / example - when using mv command or something else - mv source /dir or mv source/ /dir/
@shallex5744
@shallex5744 Год назад
@@abhishektyagi4428 i'm not sure, i never use trailing slashes (intentionally), but after testing it just now, moving the file source/ with the slash at the end doesn't work because putting the slash at the end makes the mv command think you're trying to move a directory when it is actually a file, and gives the error "Not a directory"
@send2gl
@send2gl Год назад
I've often wondered, as the tar file is uncompressed and the same size as all files combined why not just create a new directory instead of the tar file? The directory can be compressed if there is a need to save space.
@AkamaiDeveloper
@AkamaiDeveloper Год назад
The command syntax you're looking for is: tar -xf $FILENAME.tar.gz --one-top-level=$NEW_DIRECTORY_NAME This will create a new directory within your current directory and unzip the contents of the tarball into that directory. On its own, tar just bundles files, you'd need to add -c to your command to actually compress the newly created tarball.
@siov4279
@siov4279 Месяц назад
question is; how to run .tar.gz from Linux mint. BUT EVERYONE HAS nothing BUTconcvoluted answers!
Далее
Compare Files in Linux | How to Use the diff Command
19:59
Kenji's Sushi Shop Showdown - Brawl Stars Animation
01:55
Simple Password Generator | Learn Python
21:19
ktap benchmark demo lpc2024
7:21
Просмотров 23
Xargs Should Be In Your Command Line Toolbag
16:24
Просмотров 99 тыс.
Linux Command-Line Tips & Tricks: Over 15 Examples!
31:37
Kenji's Sushi Shop Showdown - Brawl Stars Animation
01:55