How to extract rar and unzip zip files in kali linux
Unrar – RAR files are in compressed archive format, if you have downloaded rar files from the Internet, you need to unpack or unrar them (extract rar files). Unrar tool give us a freedom to extract rar file. If your Linux doesn’t have unrar you can install it by putting apt-get install unrar command on your terminal.
Unzip – The UnZip package contains ZIP extraction utilities. These are useful for extracting files from ZIP archives. If your system doesn’t have it put apt-get install unzip on your terminal and install it.
âHow to extract rar file.
1. Open Terminal type unrar and hit enter this command will show you that you have installed unrar application on your machine as well you can see version.
(click on image for large view)
2. Extract rar file - For making it easy copy and paste your rar file on desktop so you can easily write your file path into the command by dragging it (visit image)
Syntax – unrar e –y file path
Example – unrar e –y ‘/root/Desktop/9.rar’
3. You have successfully extracted your file
4. When rar file is password protect - Use same command but here You have to write your password during the extracting it remember one thing when it will ask you to put your password. You will not able to see any writing letters there. it doesn’t mean there is nothing, your written password is invisible don’t be confuse to see this. Just write your password blindly and hit enter.
âHow to UnZip, Zip file.
1. Open Terminal type unzip and hit enter this command will show you that you have installed unzip application on your machine as well you can see version.
2. Unzip the file - For making it easy copy and paste your zip file on desktop so you can easily write your file path into the command by dragging it (visit image)
Syntax – unzip file path
Example – unzip ‘/root/Desktop/9.zip’
3. You have successfully extracted your file
4. When zip file is password protect - Use same command but You have to write your password during the Unzip remember one thing when it will ask you to put your password. You will not able to see any writing letters there. it doesn’t mean there is nothing, your written password is invisible don’t be confuse to see this. Just write your password blindly and hit enter.
(click on image for large view)
Like it ? Share it.