I figured hostname() returns the machine name. How to get the OS type? I want to get SunOS or Linux, similar to returns from "uname -s". Thanks!
Response to a.sharda: I know options in uname. What I...