192 168 1 254

A simply shell script to update all Redhat Enterprise Linux 5 / CentOS Linux 5 servers. You must have ssh public and private key installed.The last example shows how to login as a normal user and run sudo to update the same. This will save a lot of time if you’ve 5-7 servers patch when RHN releases updates.