Reputation: 6762
I want to concatenate /dev/null 2>&1 to every command typed in a bash prompt so that all the output gets logged.I don't want to type it after every command, so it would be nice if it automatically gets concatenated/executed after I type a command, so that the output is suppressed.
How do I do it?
Upvotes: 0
Views: 94