diff options
author | marlonivo <email@marlonivo.xyz> | 2024-10-02 08:36:24 +0000 |
---|---|---|
committer | marlonivo <email@marlonivo.xyz> | 2024-10-02 08:36:24 +0000 |
commit | faa0517450ab92b9c9f165e9f428a451aa0a84fa (patch) | |
tree | d7262b0c0e8187ebb4267a8b74b2b77c29bf9f65 /lazy-hosts | |
parent | 7857769884359a47d927d398495031dfb54376e0 (diff) |
Diffstat (limited to 'lazy-hosts')
-rw-r--r-- | lazy-hosts | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,15 +1,15 @@ #!/bin/bash -# Entferne alle Einträge nach der Markierung '# columndeeply's hosts list' +# Cleaning sudo sed -i '/# columndeeply\'s hosts list/,$d' /etc/hosts -# Repository klonen +# Cloning git clone https://github.com/columndeeply/hosts.git -# Neue Einträge hinzufügen +# Merging echo "# columndeeply's hosts list" | sudo tee -a /etc/hosts cat /home/artix/hosts/hosts00 /home/artix/hosts/hosts01 /home/artix/hosts/hosts02 /home/artix/hosts/hosts03 /home/artix/hosts/hosts04 | sudo tee -a /etc/hosts echo "# END columndeeply's hosts list" | sudo tee -a /etc/hosts -# Verzeichnis löschen +# Deleting rm -rf |