Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I use zip command in shell script, I set on -q (--quiet) option. Is there the option for rar command?

I don't want to show "Extracting ~" message and rar version infomartion in console.

I installed rar command by sudo apt-get install rar. And the version is "RAR 4.00 beta 3 Copyright (c) 1993-2010 Alexander Roshal 17 Dec 2010"

I'm extracting file by using rar e $rarfile.

share|improve this question
What software are you using to extract it. – Scott Chamberlain Aug 4 '13 at 2:25
Sorry, I forgot to write the basic information. Thanks! – ironsand Aug 4 '13 at 16:27
You should edit your tags to include the distro you are using. – Scott Chamberlain Aug 4 '13 at 17:27
up vote 3 down vote accepted

You could always just pipe stdout into /dev/null.

rar e <rarfile> > /dev/null

This shouldn't stop it from printing error messages to the console though.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.