Command to tell whether it ubuntu and mac

Peng Yu pengyu.ut at gmail.com
Tue Jan 3 17:53:50 UTC 2012


Hi,

I want to make a script work for both mac and ubuntu. Is there a
command that I can tell me whether I'm on an ubuntu or on a mac?

-- 
Regards,
Peng




More information about the ubuntu-users mailing list