Linux File Compression and Extraction Commands

logo.png


Linux File Compression and Extraction Commands

gzip -9 file Compresses the specified file optimally and creates a file.gz. turkhackteam.net

bzip2 file Compresses the specified file optimally and creates a file.bz2. Often provides better compression than gzip.
gunzip file.gz Decompresses the file.gz compressed with gzip into a file.
turkhackteam.net
bunzip2 file.bz2 Decompresses the file.bz2 compressed with bzip2 into a file. turkhackteam.net
tar -xvf archive.tar Extracts the archive file, specified as archive.tar (not compressed), to the current directory. turkhackteam.net
tar -zxvf archive.tar.gz Extracts the compressed archive file, specified as archive.tar.gz, to the current directory. Also works for files with the extension .tgz, which are equivalent to .tar.gz.
tar -zxvf archive.tar.gz -C directory Extracts the compressed archive file to the specified directory. turkhackteam.net
tar -jxvf archive.tar.bz2 -C directory Extracts the archive file compressed with Bzip2 to the specified directory. (In older versions, -Ixvf was used.)
tar -zcvf archive.tar.gz directory1 directory2 ... file1 file2 ... Creates an archive.tar file from the specified directories and/or files and then compresses it into archive.tar.gz using gzip.
unzip archive.zip -d directory Extracts the zip archive into the specified directory.
unarj e archive.arj Extracts the arj archive file archive.arj.
uudecode -o target source Decodes the file encoded with uuencode (usually email attachments) and saves it as the target file.
turkhackteam.net

Source : 3333 https://www.turkhackteam.org/konular/linux-dosya-sikistirma-ve-acma-komutlari.135289/
164f23f5f781aeb03.png
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.