If you are new to linux then you can refer this:
Linux tutorials
PID Controller
A proportional–integral–derivative controller is a control loop mechanism employing feedback that is widely used in industrial control systems and a variety of other applications requiring continuously modulated control.
Here are some useful videos by matlab tech talks to understand it deeply.