RHCSA RHEL 8 - Archive, compress, unpack, and uncompress files using tar, star, gzip, and bzip2

Поділитися
Вставка
  • Опубліковано 8 лис 2024

КОМЕНТАРІ • 10

  • @asenaengland
    @asenaengland 5 років тому +4

    Fantastic steps, thanks once again!

  • @DevOpsPulse
    @DevOpsPulse 2 роки тому +1

    thank you

  • @Izuhu
    @Izuhu 4 роки тому +2

    One thing I hate about a lot of programmers is that they have a bad habit of making things non-intuitive. Like you said with the letter "j". Why on earth would you use a letter that most likely has no correlation to what we're working with ? Same thing with the -t option with the tar command. -l isn't being occupied by another option so why not use -l when the full name of the option is called --list

    • @compsecgadgets
      @compsecgadgets  4 роки тому

      It's so true. Definitely one of my pet hate. Shame there isn't any standardisation anywhere..

  • @cdnpshaw3
    @cdnpshaw3 Рік тому

    Watching these videos now, using RHEL 9.1 and star has been removed and can't be added. What is being used instead?

  • @UnknownSend3r
    @UnknownSend3r 4 роки тому +2

    Can you use the tar command with the z or b flag (ie: tar cvz filename.tar.gz) without having to first compress the the file in question.
    For instance, say I didn't compress file1 with gzip, can I jump that step and then use tar to archive AND compress as long as I add the right flag (z or j) and extension .gz or .bz2 , or is that step mandatory.

  • @Ayush-vy2kq
    @Ayush-vy2kq 3 роки тому +4

    tar does not compress the file. It creates archive.

    • @arkticj6726
      @arkticj6726 2 роки тому +2

      tar is commonly used to backup or compress files. Its also used to transfer files and folders