I am writing some script in bash.I don't want to output anything(like error messages when I compile .c file)in terminal. Please explain your answer as I am beginneer to bash and terminal.
            Asked
            
        
        
            Active
            
        
            Viewed 173 times
        
    0
            
            
        - 
                    2pipe stderr to /dev/null – amdixon Aug 16 '15 at 09:46
- 
                    2gcc ....... myprogram.c 2>/dev/null – SMA Aug 16 '15 at 09:47
- 
                    1Look for "shell redirection" at internet sources. – pasaba por aqui Aug 16 '15 at 10:03
- 
                    4http://stackoverflow.com/questions/617182/with-bash-scripting-how-can-i-suppress-all-output-from-a-command – Suvarna Pattayil Aug 16 '15 at 10:14
