We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

yuconner on 09/24/07


Tagged

hacks commands admin networking


Versions (?)


Change MAC address (gnu/linux)


Published in: Bash 


replace ethX with the correct interface (eth1, eth2, etc)


  1. #sudo ifconfig eth0 down hw ether 00:00:00:00:00:01
  2. #sudo ifconfig eth0 up

Report this snippet 

You need to login to post a comment.