The root drive on my Solaris server was full and I needed to find out what file was the largest. The du command can list the size of the files in a directory, you can then use the sort command to display the results in numerical order (by size). Below is an example of...
Read more »
Archive for January, 2010
List files by size in reverse numerical order in Linux or Unix.
How to migrate users and groups from Solaris 9 to 10?
I just installed Solaris 10 on a new SPARC server, now I need to migrate the userids and groups over. The optimal way to migrate the userids while retaining their password is to simply copy three files from the Solaris 9 server over to the new Solaris 10. The three files are /etc/passwd, /etc/shadow,...
Read more »