To Disable echo in a Shell Script,
just use the redirection operator (>>)to /dev/null
say , uname -a gives,
Linux localhost 2.6.33 #4 SMP PREEMPT Tue Mar 2 21:08:17 IST 2010 i686 GNU/Linux
If you dont want to display any status message of a command,
use this,
uname -a >> /dev/null
No comments:
Post a Comment