Laptop Model: SONY VAIO VPC-F22 OS: Ubuntu 18.04 LTS
The following files should be placed into /usr/local/bin as root thermal_ctrl thermal_status
You may also consider placing it in /usr/local/sbin, since it requires administrative privileges.
Don't forget to set permission i.e. chmod 755