I've just signed up to learn Java: https://www.mooc.fi/en/installation/netbeans
I'm on a Mac (Big Sur - 11.3.1) and so am following point 2.1: https://materiaalit.github.io/tmc-asennus/macos-verkkoongelma/
When running the command:
echo " 127.0.0.1 $ ( hostname ) " | sudo make -a / etc / hosts
Terminal spits the following back at me: /Applications/Xcode.app/Contents/Developer/usr/bin/make: invalid option -- a
After looking around on here for a while, I found: this link
I'm not sure if it's related/how to fix it for this specific use case.
Does anyone know what I need to do to fix the error?
The version of X-Code CLI I'm running is xcode-select version 2384.
Huge thanks in advance :)