Use the unrar command of linux to extract the extracted file
This article mainly introduces the use of linux unrar command to extract the extraction file, the article is very detailed, has a certain reference value, interested friends must read it!
Extract rar file command to extract file from rar file. Under linux, use the unrar command to extract the * .rar format file.
Syntax format: unrar [options] [parameters]
Common parameters:
-e extract the file to the current directory-l list the contents of the archive-p print the file to standard output-t test archive file-v detailed list archive-x extract the file using the full path
Reference example
Unzip the compressed file text.rar in the current directory and extract the full path:
[root@linuxcool ~] # unrar x test.rar
View the contents of the rar package:
[root@linuxcool ~] # unrar l test.rar
Test whether the rar package can be extracted successfully:
[root@linuxcool ~] # unrar t test.rar
Extract to the current folder:
[root@linuxcool ~] # unrar e test.rar above are extracted using linux's unrar command to extract all the contents of the file, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!