Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to check if system is rpm or debian based

I m writing a script for which i need to know whether my system is rpm or debian based.

I searched but couldn't find any solution for the same. I don't want distro or release names.