[HELP] How to setup Wifi Access Point on Debian/Ubuntu?

Can somebody help me setup Wifi AP and how to bridge it with ethernet using only terminal. I need it working on either Debian stretch or Ubuntu 16.04 (prefer Debian).

Couldn’t find a good guide by googling.

www.cyberciti.biz/faq/debian-ubuntu-linux-setting-wireless-access-point