The user can write in my Bash script a mac address in the following way:
read -p "enter mac-address " mac-address
Now i want to check in an if-statement, if this mac-address matches with a "specific" format. i.e. it should be
FF:FF:FF:FF:FF:FF and not
FFFFFFFFFFFF. Also the length should be correct: 6x2.