In Ubuntu, you can change your MAC address by opening a terminal and typing the following command: sudo ifconfig eth0 | grep ethernet. Your new MAC address will be displayed after a few seconds. If you need to change your MAC address frequently, you can install the macchanger utility from the Ubuntu Software Center.