Individual bacterial cells have short memories. But groups of bacteria can develop a collective memory that can increase their tolerance to stress. This has been demonstrated experimentally for the first time.
bacteria medical breakthroughs collective memory