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

Posted on 2009-12-29
Last Modified: 2013-12-06
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.

Question by:TIMFOX123
    LVL 29

    Accepted Solution

    use like this

    yum -y q  install nmap

    it will install nmap quitely.

    man yum


    Author Closing Comment


    Totally correct.  

    Yum ignores    2>&1  

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
    This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now