Ubuntu Basic Terminal commands

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Remarks

How to exract tar.gz/bz2/tbz files :

If Your File Extension is .tar.gz (or .tgz) use this command

 tar xvzf file.tar.gz
  • x: This tells tar to extract the files.

  • v: This option will list all of the files one by one in the archive. The “v” stands for “verbose.”

  • z: The z option is very important and tells the tar command to uncompress the file (gzip).

  • f: This options tells tar that you are going to give it a file name to work with.

** If Your File Extension is .tar.bz2 (or .tbz)**

The major difference between these two is that the z option has been replaced by the j option.

  • j: This will decompress a bzip2 file.


Got any Ubuntu Question?