Pyridine and ethanenitrile can be used as molecular probes to measure the Lewis acidities of ionic liquids by monitoring the shift of IR absorption bands near 1450 cm(-1) for pyridine and in the range 2250-2340 cm(-1) for ethanenitrile.