How to find fan speed in Linux for CPU and GPU

What commands I need to type to find out fan speed for GPU and CPU in Linux? You need to use Linux monitoring sensors software called lm_sensors. It is an open-source software that provides commands and drivers for monitoring CPU/GPU temperatures, voltage, and fan speed.