Preview:
sudo apt-get install uml-utilities

# Add tap0
sudo tunctl

# Add with specific name
# sudo tunctl -t mytapname

sudo ip link set up dev tap0

# Delete tap0
sudo tunctl -d tap0


# Or by using the "ip" suite...
# sudo ip tuntap add name tun0 mode tun
sudo ip tuntap add name tap0 mode tap
sudo ip link set up dev tap0
sudo ip tuntap del dev tap0 mode tap
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter