Skip to content

Instantly share code, notes, and snippets.

@mtilson
mtilson / README.md
Last active July 21, 2024 21:31
how to setup static DNS servers in DHCP environment [ubuntu 18.04] [bash] [systemd] [systemd-networkd] [systemd-resolved]

How to setup static DNS servers in DHCP environment for Ubuntu 18.04

Enable systemd-networkd debugging

$ sudo mkdir -p /etc/systemd/system/systemd-networkd.service.d/

$ sudo cat > /etc/systemd/system/systemd-networkd.service.d/05-enable-debugging.conf << _EOF
[Service]
Environment=SYSTEMD_LOG_LEVEL=debug
@JBlond
JBlond / bash-colors.md
Last active November 4, 2025 11:58 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple