The Android Debug Bridge (adb) is a really useful tool to interface with your phone from a Terminal on your Pc. It is an official Android debugging tool made by Google.
In order to use it on your phone, you will first have to enable USB debugging:
- Enable Developer Options. You can do so by going to Settings > About Phone and tapping Build Number 7 times
- Now go to Settings > System > Developer options and enable Usb Debugging