Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the unrar command of linux to extract the extracted file

Shulou Source: shulou.com Published: 2022-06-02 19:25:21 10月02日 Update

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!

Tags: Files commands content archives parameters formats directories paths references tests success value interests examples guys buddies commonly used folders more standards Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Information vpn Xiaomi macOS