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

x
  • 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.

0
TIMFOX123
Asked:
TIMFOX123
1 Solution
 
fosiul01Commented:
use like this

yum -y q  install nmap

it will install nmap quitely.

do
man yum


0
 
TIMFOX123Author Commented:

Totally correct.  

Yum ignores    2>&1  
0

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