Transfer file to Server and vice versa
Local to Server: scp -P 2222 /absolute_path/source-folder/some-file user@example.com:/absolute_path/destination-folder Server to Local: scp -P 2222 u ser@example.com:/absolute_path/destination-folder /absolute_path/source-folder/some-file How do I extract tar.xz files in Linux? The syntax is: Install xz using the dnf install xz on a CentOS/RHEL/Fedora Linux. Debian/Ubuntu Linux users try apt install xz-utils command. Extract tar.xz using the tar -xf backup.tar.xz command To decompress filename.tar.xz file run: xz -d -v filename.tar.xz