Question : Terminal command to assign an IP address to a device

There is a terminal command to assign an IP address to a device with a MAC address but I have forgotten it. It goes something like "sudo ???? (MAC address) xx:xx:xx:xx:xx:xx (IP address) ###.###.###.### Can anyone help me out with the exact syntax?

Already tried sudo -a xx:xx:xx:xx:xx:xx ###.###.###.### however dont believe thats correct.

Answer : Terminal command to assign an IP address to a device

arp -s ipaddress macaddress
Random Solutions  
 
programming4us programming4us