Probing and Controlling Few-Femtosecond Dynamics with Ultrashort Laser Pulses: From Gases to Solids