linux rar extract code example
Example 1: how to unrar in linux
$ sudo apt install unrar
//extract to the current folder
$ sudo unrar x filename.rar
//extract all files without sub folders
$ sudo unrar e filename.rar
Example 2: extract rar linux
unrar x <file.rar>