This code aims to validate the Mac quickly and easily.
It uses the 'dialog' program to have a more user friendly interface, making it easier to use and thus reducing the chances of errors.
- You will need the 'dialog' program installed on your machine.
Dialog is a program used to design user-friendly interfaces, with buttons and menus, from a Shell Script.
You should first check if you have the dialog installed.
Call the program by its terminal like command:
$dialog
If you have a return as:
$ Unknown command dialog
So you do not have the program installed
To install it on Debian-based distributions simply use the command:
$sudo apt install dialog
To install it on Arch-based distributions simply use the command:
sudo pacman -S dialog
To install it on Red Hat-based distributions simply use the command:
sudo dnf install dialog
Execution permission to MAC.sh with the command
$sudo chmod +x Mac.sh
After that you just run the program:
./Mac.sh
