Understanding how bacteria rapidly adapt their metabolism in response to external stimuli is key to addressing the present crisis of antibiotics-resistant infections. In the Gram-negative bacterium Escherichia coli, the universal stringent response is elicited in response to some antibiotics and involves production of the global alarmones, (p)ppGpp, which bind directly to many cellular targets. The nucleosidase PpnN that cleaves nucleotides into 5\'-phosphate ribose and nucleobase, was shown to be a target of (p)ppGpp and control the delicate balance of bacterial fitness and persistence to fluoroquinolone antibiotics, thus conferring optimal survival strategies to bacteria during antibiotic selective pressure. Although both pppGpp and ppGpp stimulate the enzymatic activity of PpnN, they exert distinct effects on the enzyme\'s cooperativity. The molecular mechanism underlying this subtle difference as well as the precise catalytic mechanism of PpnN, remain obscure. In this study, we provide mechanistic insights into the interaction of PpnN with substrate analogue, reaction products and alarmone molecules, which allows us to understand the catalytic mechanism of this family of nucleosidases and the differential modes of regulation by ppGpp and pppGpp, respectively. Comparison with the homologous LOG proteins involved in cytokinin production in plants reveals an ancient, universal mechanism for cleaving purine monophosphates that bacteria have incorporated regulatory controls through alarmones upon stringent responses.