Just received a password protected rar file in my Linux box and have no idea how to extract it using command line. The reason I need to extract this password protected rar file thru command line is because there is no GUI install in this low end Linux box. As google is my best friend, i found a very simple way to extract password protected rar file.
To extract password rar file in Linux, follow the steps below:-
Advertisements
- Login to your Terminal and issue the command below:-
rar e file-to-be-extract.rar
if you see “rar: command not found” then you might need to install rar thru apt-get or yum.
- Once you entered, system will prompt you for password. Enter the password and the rar file will be extracted. It’s tat simple!
Related posts:
How to install SVN 1.6 on CentOS 5
CentOS 7: How to setup TUI Firewall settings?
How to extract .bz2 file in Linux?
How to set SVN_EDITOR environment variable
How to move cursor to end of line in vi editor
How to change hostname in Linux
How to check if directory exists in Bash script
How to setup mysqldump without password in cronjob
Share this with your friends:-