[CentOS] Scripting help please....

2009-10-28 Thread Truejack
Need a scripting help to sort out a list and list all the duplicate lines. My data looks somethings like this host6:dev406mum.dd.mum.test.com:22:11:11:no host7:dev258mum.dd.mum.test.com:36:17:19:no host7:dev258mum.dd.mum.test.com:36:17:19:no host17:dev258mum.dd.mum.test.com:31:17:19:no host12:dev

[CentOS] Move hard disk to a new machine

2008-03-15 Thread Truejack
I work for a government organization here in India. I am sort of new to CentOS & Linux. We have a 1TB disk in one of our machines that needs to be moved to a new server. How can I do that without losing any of the data? The whole drive is mounted onto a single file system (/software). I would l