This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
### | |
# Written by Alex N. Speaks | |
# Takes the position in which a NIC appears in the vmware console as an argument. | |
# Returns the ethernet device name that corresponds to that position number. | |
# Position numbers start at 0 | |
# You can think of this as the old-style ethX number | |
NIC_INDEX=$1 |