I'm wondering where to find what values system() accepts. For example, I want to list the server's OS type. I already did man system, did not find it very useful. And google is returning a lot but nothing relevant.

Well I figured it out, uname is the command I was looking for.

I'm wondering where to find what values system() accepts. For example, I want to list the server's OS type. I already did man system, did not find it very useful. And google is returning a lot but nothing relevant.

Type HELP at the command line.

Haha, thanks. Pretty odd that I never thought of that one. Now I feel stupid.