It is stated in the man pages even if some error happens -q operation exits without displaying anything on screen. I tried it but it displays the error. Further could anyone tell what is the use of such an option which prevents to display error.