When I start using Linux, it's really complicated and frustrating. Why
I have to use commend when I have a GUI (Graphical User interface). I
can just go and click to open the file. Why should I use cd command? Believe
me, I know this feeling very well, But I must say if you used to use Linux its
dam simpler then window.
Everything is free to do you
really do not want to go to the website for
and download just a commend did for you in seconds.
If you have compressed file or normal we can say you have a zip file, then it's not hard to unzip it. Today we will learn how to unzip .tgz files or .tar.gz extension format.
Unzipping .tgz files command
tar zxvf filename.tgz
Real-life example
In this case, I have file name Tools.tgz (this has codes)
tar zxvf Tools.tgz
Output
Sources/Python/Exercises/WordCounter/wordcount.cc Sources/Fortran90/HelloWorld/hello1.f90 Sources/Fortran90/SyntaxExamples/basics.f90 Sources/Fortran90/SyntaxExamples/types_ops.f90 Sources/Fortran90/SyntaxExamples/ctrlstr.f90 Sources/Fortran90/SyntaxExamples/inout.f90 Sources/Fortran90/SyntaxExamples/copyfile.f90 Sources/Fortran90/SyntaxExamples/arrays.f90 Sources/Fortran90/SyntaxExamples/funcsub.f90 Sources/Fortran90/Modules/circle1/circmod.f90 Sources/Fortran90/Modules/circle2/circmod.f90 Sources/Fortran90/MoreFunctions/functions.f90 Sources/Fortran90/Exercises/MatrixProduct/Solution/matmul.f90 Sources/Fortran90/Exercises/Bubblesort/Solution/bubbsort.f90 Sources/Fortran90/SyntaxExamples/twoFiles/main.f90 Sources/Fortran90/SyntaxExamples/twoFiles/funcsub.f90 Sources/Fortran90/Modules/circle3/circmod.f90 Sources/Fortran90/Modules/circle3/circmain.f90 Sources/LangMix/CfromC++/1/main.ccFor sure in your mind, this question comes what is zxvf
-z Decompress the contents of the compressed archive created by the program
-x Extract files from an Archiv
-v Verbosely list files processed
-f Specify an archive or a tarball filename
Please comment if you have any suggestion and share to support us
😀 😄 😍 💗
0 Comments
If you have any doubt and suggestion Please let me know