i have a BASH script that does a few network utili开发者_开发技巧ties at home. I want to read in a few variables at the start. For something fed into airodump-ng, which can take a MAC address as an arg just like: 00:01:02:03:04:05, how should input this for 'read'?
read -p "Enter the MAC Address: " mac
echo "You entered the MAC Address: $mac"
精彩评论