Home > Article > Operation and Maintenance > What is the command to decompress a tar file in Linux?
The decompression command is "tar -xcf filename.tar.gz". The specific compression method is: first enter the user name and password to log in to the system; then right-click the mouse and select "Open Terminal"; finally execute "tar -xcf File name.tar.gz" command can be used.
#The operating environment of this tutorial: centos7 system, thinkpad t480 computer.
Log in to the linux system.
Enter the user and password to log in to the linux system.
Open the terminal command.
Right-click and select Open Terminal Menu to open the terminal command.
Use the tar command to decompress the contents of the compressed file.
Extension:
(Recommended learning: linux tutorial)
The above is the detailed content of What is the command to decompress a tar file in Linux?. For more information, please follow other related articles on the PHP Chinese website!