The config file can be accessed using the following command:
sudo nano/etc/dhcpcd.conf
sudo nano/etc/dhcpcd.conf