How to differentiate between ubuntu and redhat in unix script or c preprocessor?
I am a newbie to linux. I have a file to execute which is copied in different directory based on redhat or ubuntu. Is there any unix script method or c preprocessor by which I can differentiate between Redhat or Ubuntu ?
Is there any other method to differentiate between redhat and ubuntu?