Every time after I login, but before the desktop loads, a dialog box with the error:
Error found when loading /home/[user]/.profile enp7s0: Unknown host ifconfig: `--help' gives usage information.
I can just click OK and the dialog box disappears, and GNOME loads up afterwards.
However, the last 2 lines of the error message appear whenever I open a new terminal. I can still use the terminal, it just displays that error first.
I know that 'enp7s0' is my Ethernet profile. It also works correctly. So why would I get this error whenever I log in, and does it have any performance implications that I'm just not seeing?