Shell/Bash: change ubuntu ip address command line Example
Shell/Bash Example: This is the "change ubuntu ip address command line" Example. compiled from many sources on the internet by SimpleTutorials.org
change ubuntu ip address command line
#/etc/netplan/99_config.yaml network: version: 2 renderer: networkd ethernets: eth0: addresses: [10.10.10.2/24] gateway4: 10.10.10.1 nameservers: search: [mydomain, otherdomain] addresses: [9.9.9.9, 1.1.1.1]
change ip of ubuntu
sudo ip link set dev eth0 up sudo dhclient -v eth0
* Summary: This "change ubuntu ip address command line" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!