Linux without a GUI is even more secure than Macs, especially if you don’t have any daemons running.
Yes, it can be, although LINUX was more susceptible to the BASH vulnerability than was OS X because Apple had that locked down for all users unless turned it on.