Hostxpeed
Login Get Started →
Getting Started

How to Extract Compressed Files

3 min read
19 views
Jun 13, 2026

Prerequisites

Before extracting files, make sure you have:

  • SSH access to your VPS
  • Compressed file ready

Extract .tar.gz

Connect to your VPS:

ssh hxroot@YOUR_SERVER_IP -p 22
tar -xzf archive.tar.gz

Extract .tar

tar -xf archive.tar

Extract .tar.bz2

tar -xjf archive.tar.bz2

Extract .tar.xz

tar -xJf archive.tar.xz

Extract .zip

unzip archive.zip

Extract .gz

gunzip file.gz

Extract to Specific Directory

tar -xzf archive.tar.gz -C /target/directory/

Extract Password-Protected Zip

unzip -P password archive.zip

✅ Files have been extracted.

Was this article helpful?