Now we have one archive file, but the file is bigger than the sum of the original files.
So what you want to compress those files for ease of transport.
So Linux has several comments capable of creating compressed files, so we will look at this here.
GZIP, which uses the extension to, uh, here.
Excellent.
Now Jesus here to zip is a user's extension.
Tosh, GZ or tag is in here like that.
Um, so we have these two here, these two, uh, here.
Uh, which uses extension tosh these to here.
Actually, this is not separate and we have compress, uh, compress here.
And this is that he uses the Taj Z here like that.
So the these all are capable of compressing our files, but they use different compression algorithms
and have different compression ratios.
So therefore we will look at each one and what it's capable of in general.
You know, compress is the fastest, compress is the fastest.
But the result those files are larger, larger, so easy tool is the tool here is a obvious, but the
resultant files are the Somalis and GZ files somewhere in between.
Fast the compress and peace to the main reason you as budding kicker.
You should know all three Maytals methods is not.
When accessing other tools, you will run into various types of compression.
Therefore, this section shows you how to deal with them.
Main methods of compression so they accomplish compression with GCP, and I will show you.
So let's right.
Uh, g zip Jeannie, you zip here first.
Um, and as is the most commonly used compression utility in Linux, so it's popular in Linux, so you
can compress.
Um, I'll take this project, uh, tar file by entering, uh, def here, for example.
Let's delete our town files here, and let's complete new products in.
ASAP here, tick beans and.
Uh, one tour operator here.
So by entering here and let's enter.
And that helps.
And as you can see here, which is it.
And so.
As you can see here.
And it's open here.
So we have seen huge file here.
And we have.
Actually, let's return our.
Take spins project from Trashier, because we I will do some example here.
So let's anticipate as well here and uh, to commence.
And take this one here and take this.
The latest tech business here, so we can.
We can compress these, uh, these compressed file to bust this action that compress it's just carried
and the file is not reduced here, so we can reduce this file here, for example, unless unless you
consider it, let's copy it here.
See Page Take Bins Project here.
Take Bins Project.
And tech being.
Take things for the clear three year war wrecked year in.
Or just like that copy.
But Typekit else.
So we created a copy of it.
So let's give our take advanced project, which means project clear and take this project.
So as you can see here, take this project tarrier touches us, so we copy that.
So now Alice in here.
So.
As you can see, here are file size is reduced to.
My significant amount, so let's say that we used, uh, before, uh, of it, we used to build card
operator years.
Let me show you here.
So, uh, this tells Lennox that the coal mines filled apply to any file that begins with thick pins,
uh, within file extension, you will use similar notation, uh, for the following samples when you
read too long listing on the directory we can use take bins.
Tar has been replaced by here.
Uh, take this project tar to, uh, take this project.
Tar GZ here we carried around a file.
Uh, like that's just a copy here.
So as you can see, this pint sized is sized is, um, use significant amount almost less calculated,
uh, three nine nine three six zero and write to.
As you can see here, the file size is up.
Sized, um, actually one hundred seven to eight times.
Uh, so.
We can then then compress that world by using the Guns Zapier command concept short for a gene you unzip
comment.
Hear hear.
Gene Ann's opinion.
So J.
Ansip, take things.
Uh, Project Project Parcheesi here and let's do it and here.
So we unzipped here.
As you can see, there is a Node.js extension of it here and our file size.
It's turned the same here.
So once uncompressed it on compress, the file is no longer saved the entire GS6 extension.
But with the town extension, is that so awesome to see that it's returned to its original size?
Uh, here.
And try doing a long list to confirm this, it's for, um, not nothing than the Jesus panels to be
used except zip file.
See it.
Uh, so.
We have become compressed, as I said earlier, if to and here and there, often all the.
Use compression utilities and Lennox is busy too, which works similarly to Jersey but has better compression
ratios, meaning that the resulting file will even be smaller than that here.
Actually, we closed that Coakley tonight, right?
Oh, yes, because that calculator and a calculator here.
So now we will zipped these files again here, so be easy to, uh, take Bill's project that heart here
and the list and click here.
As you can see here, it's almost four hundred eighty eight bytes here.
So now that's calculated 10 nine nine three six zero.
And divide by four eight eight.
Here, as you can see, there is almost eight hundred, um, eighteen times.
Um, our file is smaller than our general file, so but in a previous case, it was one hundred more
than one hundred, uh, seventeen here, seventeen here.
So uh, when you uh.
To a long listing, and you can see the bishop has compress the file just, uh, down to of Solomon
by sea announcement that the file extension is no to be easy to hear.
So to uncompressed the compressed file used in, uh, b unzip tool and take this project to be easy
to hear.
And this s here.
And as you can see it on file sizes here.
So.
We can use the compress and this will I want to show you lastly here.
Uh, so.
The compress, um, the final, you can use the compressed air to compress the file here.
This is probably the least commonly used compression utility, but it's easy to remember to use it.
Simply enter the compress pulled by the file name.
For example, take tech year project that Tanya here and its out here.
And as you can see, it's not much of compression here, as I said earlier in line nine three six zero.
They might be, uh, twelve four hundred and twenty years.
And as you can see here, it's smaller than just, uh, thirty one times here.
So not the not that the compression utility reduced size of file.
Um, here.
Uh, also that the file extension now is part z here with the uppercase zero.
So to decompress the same file, just compress, you know, just use uncompressed here and compress
here and then your file name, thick pins project that's here.
And oh, as well.
Yeah.
So you can also use the genes, if you knew what was a command with files that have been compressed,
uh, with compress commentate.
Just keep in mind so we can create a bit by bit or physical copies of the storage devices as well here,
uh, just within the world of information security and hacking while archiving common sense, uh, above
the list in its usefulness so that the the command makes a bit by bit copy of a file, a file system
would have an entire entire hard drive here.
So this means that anyone deleted files are copied.
Yes, it's important to know that your deleted files may be recovered or recoverable near making for
easy discovery and recovery.
So deleted files will not be copied with the most logical copying utilities such as them.
Copy here and um, one once a hacker has owned a target system that they deem common with all of them,
uh, to copy the entire hard drive or a storage device to their system.
So in addition, those people whose job is to catch hackers, namely forensic investigators, will likely
use it is common to make a physical copy of the hard drive with related files and other artifacts that
might be useful for finding evidence against a hacker.
It's critical to note that the DDR command shall not be used for typical day to day copying of files
and storage devices because it's very small here.
Other commands to, uh, do the job faster and more efficiently.
So it is through the excellent when you copy it, when you need a copy of a storage device without filesystem
or other logical structures, such as in a forensic investigation here.
So they give is the input file here in the input file.
Uh, here and off is the output file.
So if you wanted to make the physical copy of your flash drive, assuming your flash drive is, uh,
8TB here and then input file is going a bit dev SDB, this is your flashback flash drive and output
file is your the file, which you want to copy bit by bit.
Your flash drive here is in this case, for example, it will then form here Carly and our flash copy
copy security secrets here.
And let's, uh, here.
So let's, uh, break down this comment.
You so tidy your physical copy command.
So if this is your input file and with they, Steber is representing your flash drive in the category
directory and off here.
The desired design.
That's your output file.
And uh, here.
Uh, roll it home call.
The secret here is the name of, uh, the file you want.
Copy to the bicycle copy to form a complete explanation of the Linux system design, uh, design item
or authorize.
It will be discussed in the later lectures you.
So Linux has a number of commands to enable you to combine and compress your files for easier transfer.
So therefore, campaigning for a star is the command of choice, and you have at least three utilities
for compressing files.
These are GZIP peasy to and compress, so are with different compression ratios so that the command
goes above and beyond.
It enables you to make a physical copy of storage devices without a logical structure, such as a file
system, allowing you to recover such artifacts as deleted files.