I'm trying to improve CPU temperatures on a Dell Inspiron 7460 laptop which is a common problem with this particular machine when under reasonable stress (small chassis, badly placed vents, single cooler for both cpu and gpu). Windows allows me to simply reduce the i5 7200U max speed from 3.1GHz to 2.8GHz or 2.5GHz and although I agree it isn't the best solution, it works fine for me.

So Ubuntu 20.04.1 has any way to do the same? Also I'm new to Linux, terminal commands are usually unkown to me but I'm trying to learn and often I prefer to use them.