How to create,extract,compress tar files in linux ubuntu [ Explained ]

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • What are tar files in linux ?
    The Linux “tar” stands for tape archive, which is used by large number of Linux/Unix system administrators to deal with tape drives backup. The tar command used to rip a collection of files and directories into highly compressed archive file commonly called tarball or tar, gzip and bzip in Linux. The tar is most widely used command to create compressed archive files and that can be moved easily from one disk to another disk or machine to machine.
    Tar
    ---
    Tar is used to create the archive of any folder or partition, so that huge data under various directories & files can be stored as single file. Tar is generally used to store the data on tape drives in production environment.
    Creating a tarball :-
    #tar -cvf etc.tar /etc {-c is used to create tar, -v is verbose and -f is file name. Here we are creating tar of /etc directory with name etc.tar}
    #tar -tvf etc.tar {View data under any tar file}
    #du -sh etc.tar {This command will show the size}
    #tar -xvf etc.tar {Extracting etc.tar, you need to change your pwd, where u want to extract the tar}
    ===========================================================================
    Zip
    ----
    #gzip -v etc.tar {Used to compress the archive file}
    #du -sh etc.tar.gz {Command will show the size after compression}
    #gunzip -v etc.tar.gz {Uncompress the file}
    Bzip2
    -----
    #bzip2 -v etc.tar.gz {Advanced compression utility}
    #du -sh etc.tar.gz.bz2
    #bunzip2 -v etc.tar.gz.bz2
    --------------------------------------------------------------------------------------------------
    Website Link :-
    letslearntech.com
    Ubuntu tutorials for beignners playlist :-
    • Ubuntu tutorials for B...
    --------------------------------------------------------------------------------------------------
    Basic Terminal commands in linux : -
    • Basic Terminal Command...
    ------------------------------------------------------------------------------------------------------
    how to reset / recover password in ubuntu 16.04 (100 % working) :-
    • how to reset / recover...
    -----------------------------------------------------------------------------------------------------
    How to complie and run c,c++ programs in linux ubuntu : -
    • [ Running C,C++ Progra...
    ---------------------------------------------------------------------------------------------------
    How to create bootable usb/pen drive in linux ubuntu :-
    • How to create bootable...
    --------------------------------------------------------------------------------------------------
    how to create samba server in ubuntu linux : -
    • How to configure samba...
    ----------------------------------------------------------------------------------------------------
    How to install ubuntu linux in vmware : -
    • How to install Ubuntu ...
    -----------------------------------------------------------------------------------------------------
    How to format usb drive in linux ubuntu :-
    • How to Format USB driv...
    -----------------------------------------------------------------------------------------------------------
    Like us on Facebook :-
    www.facebook.c...
    ---------------------------------------------------------------------------------------------------
    tags : -
    how to untar tar.gz file in linux extract tar file windows how to zip a directory in linux create tar.gz file linux how to tar a file in linux gzip command in linux tar compress folder tar.gz linux create tar file gzip linux gzip command in linux how to zip a directory in linux create gz file linux how to gzip a file in windows create tar.gz file linux gzip directory linux gzip multiple files how to tar a file in linux bzip2 command in linux with examples bzip2 compress directory bzip2 linux install bzip2 decompress bunzip2 command in linux bzip2 multiple files bzip2 keep original file bzip2 multiple files into onetar file linux winzip tar how to open tar.gz file in linux how to open tar.gz file in windows 10 how to extract tar gz file in windows command line 7zip tar extract tar file windows

Комментарии • 49

  • @sweetestdesire7093
    @sweetestdesire7093 4 года назад +2

    spot on video, if your learnin linux this is plain and simple no messin about!! thanks for uploading bud

  • @abdiwahabibrahim6566
    @abdiwahabibrahim6566 2 года назад +1

    i was able to create the file but for some reason it said "cannot stat no such file or directory"

  • @georgetebeck7331
    @georgetebeck7331 3 года назад

    awesome teacher, i have watched so many videos trying to understand the tar command but u nailed it. SAVED my life

  • @crismonperser
    @crismonperser 2 года назад

    thank you
    struggled in the class with fedora linux today , this 9 min video helped me out
    much easier then to read Lpic1 book

  • @watson6328
    @watson6328 2 года назад +1

    Very very very good explanation

  • @achyutdeokatepatil897
    @achyutdeokatepatil897 4 года назад +1

    one of best video which i seen. thanks bhau.

  • @lainefarris8762
    @lainefarris8762 3 года назад +1

    I got so lost in class with this, thank you!!

  • @tharaaalmlehim5386
    @tharaaalmlehim5386 2 года назад

    please how we can use the “Extract” command to find the positive answer of the solutions for
    an equation

  • @gopikrishna6672
    @gopikrishna6672 3 года назад

    flawless class .....amazing undoubtedly

  • @ednakazuya12
    @ednakazuya12 4 года назад +3

    Thank you! It was perfect. A lecture where CSUN fails to teach

  • @lorenameci7694
    @lorenameci7694 3 года назад

    bash:cd/home/lorena/Desktop/:No such file or directory ,what should i do ?

  • @user-jn9wh9yr2c
    @user-jn9wh9yr2c 5 лет назад +2

    how perfect you teach;; thanks

  • @kavyajaswani1801
    @kavyajaswani1801 3 года назад

    thank you so much, you explained it really well

  • @TommyBoy-719-
    @TommyBoy-719- 5 лет назад +2

    Perfect! 💯

  • @meharfari5410
    @meharfari5410 4 года назад +2

    Well done sir.....its helpful:-)

  • @pravinlondhe6466
    @pravinlondhe6466 2 года назад

    Thank you, your video is helpful for me 🙏

  • @amolsalgar6743
    @amolsalgar6743 4 года назад +1

    Thank you friend

  • @sivaramvennapusa5759
    @sivaramvennapusa5759 3 года назад

    your explanation was awesome sir, make scp ,rsync sir

  • @monkskunk8162
    @monkskunk8162 2 года назад

    thanks bro my assignment is due in an hour and only takes tar files

  • @victorified2912
    @victorified2912 3 года назад

    Why can't you make thorough full videos on every concept of rhel6
    Especially on Ubuntu
    Unlike other your videos are worthwhile

  • @ramanjiyellappagari3559
    @ramanjiyellappagari3559 2 года назад

    Tqu so much anna🙏

  • @mahnabraja1086
    @mahnabraja1086 4 года назад

    its very helpful...thanks sir...

  • @joshiatharva
    @joshiatharva 5 лет назад +1

    Thank you sir....!

  • @HoneyBadgerz
    @HoneyBadgerz 3 года назад

    can i create the tar file from my home user directory ?
    i mean is it necessary to go the location where the file is created..in your case it is the _Desktop_ .

    • @ichitti1434
      @ichitti1434 3 года назад

      If you don't want to go there you have to use the full path of the file/directory your wish to compress

  • @hassanalihassan5701
    @hassanalihassan5701 3 года назад

    thankz so much

  • @chetankulkarni730
    @chetankulkarni730 4 года назад

    Hi, is there a way to exclude some files while archiving a folder?

  • @surangamaroy1076
    @surangamaroy1076 3 года назад

    Thank you sooo much 🙏🙏🙏

  • @gouravdhar5945
    @gouravdhar5945 4 года назад

    Thanks bhai........helped a lot...

  • @deepumohan1651
    @deepumohan1651 5 лет назад +1

    Hello boss I would like to know if are willing to teach me online I'm keenly interested in hear back from you

  • @nacera1054
    @nacera1054 5 лет назад +2

    perfect

  • @hemendra69
    @hemendra69 2 года назад

    thanks bro

  • @abdulraufqadir8632
    @abdulraufqadir8632 5 лет назад +1

    Thanks

  • @mahamatismaelabdelkerim8475
    @mahamatismaelabdelkerim8475 4 года назад +1

    great

  • @rahneshin752
    @rahneshin752 2 года назад

    ♥️♥️♥️♥️

  • @mngator2
    @mngator2 4 года назад +1

    great video Very thorough. (Friendly advice: If you have a runny nose, you should mute your mike before you snort.)

    • @AndroidandTechSolutions
      @AndroidandTechSolutions  4 года назад

      Thanks for the feedback. I don't really remember as video is too old. May be some background noise. :-)

    • @mngator2
      @mngator2 4 года назад +1

      @@AndroidandTechSolutions Please don't give it another thought. It was a great teaching video.

    • @AndroidandTechSolutions
      @AndroidandTechSolutions  4 года назад

      @@mngator2 thanks :)

  • @sonnyebhos129
    @sonnyebhos129 6 лет назад

    Great

  • @hemantvaidya1952
    @hemantvaidya1952 6 лет назад +1

    nice bro

  • @abhijithvishnu7194
    @abhijithvishnu7194 5 лет назад +1

    Jai techkey hackers🤙🏼💙😂

  • @mixed7991
    @mixed7991 3 года назад

    3:41

  • @zxmod7693
    @zxmod7693 4 года назад

    fackkk