#!/bin/bash # Hoặc #!/bin/sh nếu bạn dùng shell cơ bản echo "nameserver 8.8.8.8" > /tmp/resolv.conf echo "nameserver 1.1.1.1" >> /tmp/resolv.conf sudo sh -c 'echo -e "nameserver 1.1.1.1\nnameserver 8.8.8.8" > /etc/resolv.conf' cat /etc/resolv.conf npm start