setting ip address ubuntu code example
Example 1: ip address ubuntu
ip address show
Example 2: change ip of ubuntu
sudo ip link set dev eth0 up
sudo dhclient -v eth0
ip address show
sudo ip link set dev eth0 up
sudo dhclient -v eth0