Linux Mastering Development Ubuntu

Confused about this homework question

I have a question for my assessment dont give me a full script can you give me some commands and advice for tackling this one please. Ive been googling for ages. "Create a script to display the error status of all network interfaces."