Has a broad substrate specificity. Hydrolysis of terminal non-reducing N-acetyl-D-hexosamine residues in N-acetyl-beta-D-hexosaminides. By growth on N-acetylglucosamine. Belongs to the glycosyl hydrolase 20 family.