commands result blocking

rag84dec's Avatar, Join Date: Jul 2007
Go4Expert Member
the command "swremove productname" displays the result which i want to block ... can anyone tell me how to do???
pradeep's Avatar, Join Date: Apr 2005
Team Leader
redirect the output to bit-bucket!!
Example:
Code:
swremove productname >>/dev/null
This will redirect output of STDOUT to the bit-bucket.