From: Adam K. <ake...@ni...> - 2003-02-27 17:05:35
|
First, Custom Commands: Is there a way to take a custom command that I've made on our "Cluster master" server, and I'd like to push it out to the other machines in the cluster. Is there an easy way to do this or should I copy & paste this to 26 other boxes? :{ Second, Sendmail: Is there a way to delete all the messages in a mail spool? Granted this will have to be a for loop like the following: for x in `ls /var/spool/mqueue`; do rm $x; done That way I don't have to login through ssh and do it manually. Ah, the defects of being lazy. Thanks! -- ------------------------------------------------ | Northern Indiana Educational Services Center | ------------------------------------------------ | Adam Kennedy - ake...@ni... | | Certified Linux Administrator - Master Level | | Phone: (574) 254-0111 x113 | | Fax: (574) 254-0148 | ------------------------------------------------ |