[Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

Annoying stuff on the screen when I used yum -y install xxxx

It is often when I get on a box I need to install something like Nmap for something simple.  If I know the system is setup for a respository, I do not need to watch the messages from the install, I will know soon enough if Nmap is installed when I try to use it.

I would like to do a yum -y install nmap &  allmessages > /dev/null.

The syntax is not correct however you likely understand what I want.  I just want it to install and not send out any messages during the install to mess up the typing I am doing.

1 Solution
use like this

yum -y q  install nmap

it will install nmap quitely.

man yum

TIMFOX123Author Commented:

Totally correct.  

Yum ignores    2>&1  

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now