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 user@example.com:/absolute_path/destination-folder /absolute_path/source-folder/some-fileHow 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
Comments
Post a Comment