添加 host.sh
This commit is contained in:
commit
e549b852d7
12
host.sh
Normal file
12
host.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Redirect output to null to suppress echo output
|
||||||
|
echo "127.0.0.1 goedge.cloud" | sudo tee -a /etc/hosts > /dev/null
|
||||||
|
echo "127.0.0.1 goedge.cn" | sudo tee -a /etc/hosts > /dev/null
|
||||||
|
echo "127.0.0.1 dl.goedge.cloud" | sudo tee -a /etc/hosts > /dev/null
|
||||||
|
echo "127.0.0.1 dl.goedge.cn" | sudo tee -a /etc/hosts > /dev/null
|
||||||
|
echo "127.0.0.1 global.dl.goedge.cloud" | sudo tee -a /etc/hosts > /dev/null
|
||||||
|
echo "127.0.0.1 global.dl.goedge.cn" | sudo tee -a /etc/hosts > /dev/null
|
||||||
|
|
||||||
|
# Display the contents of the /etc/hosts file
|
||||||
|
cat /etc/hosts
|
Loading…
x
Reference in New Issue
Block a user