There are many different techniques for compression. In high level summary, repeated sequences of bytes or bits within the file are replaced with a key that represents that sequence, so that when the file is stored, it uses less space. When it is called back up, it is decompressed, and those keys are replaced with the original sequences, and the file is rendered in its original form.
Depending on the algorithm used, the compression can be lossless or lossy. Lossless means that nothing is lost in compression and decompression. Lossy means that some bits can be lost, perhaps pixels in a bitmap or high frequency blips in a waveform, that are chosen to probably not represent useful information. By doing this, you can achieve higher compression factors, at the cost of the loss of some (hopefully) insignificant data.
A good example of a lossy compression algorithm is the codec used in your telephone - you don't have to have "perfect" one-for-one translation of the bits in your digitized voice, so they program an ultra high compression, lossy factor into the codec on your telephone, and cell phone.
Nothing special. But depending on the compression techniques used, it's a wasted effort, since it won't save more space having a compressed file on a compressed file system.
.txt is not a compressed file.
.txt is not a compressed file.
They keep there existing permissions and settings, the existing permissions and conditions move with them.
That would depend on the kind of compression we are talking about. Nothing special would ever happen to something compressed either as part of its format or when placed in a compressed archive, regardless of what it was copied to. If we're talking about compression at the file system layer, the same thing happens as when the file is not compressed: the file actually stays int eh same place on the disk (and thus doesn't need to be uncompressed), but its stated location in the file system changes.
When files containing large amounts of information are compressed or zipped, they are moved and forced into a smaller space to conserve memory and protect the file(s).
An image file type that has already been compressed is a jpeg.
No. A copy remains in compressed form.
You can identify it easily in two ways. 1. By its icon, It is a folder up on its side that has a zip through it. 2. By its file extension. Although sometimes these are not always visible, the extension for the average compressed file is .zip . You could also identify if it a compressed file if it says compressed zip folder in grey writing under the file name.
underscore
an image file
No. the format of a file is the description about how the data in it are structured. Thus the data described by the format can be compressed but the format itself can not.