Install and backup script for hosts

This commit is contained in:
Christian Colglazier 2019-09-04 13:14:50 -04:00
parent b864018a7b
commit 63a9f7a787

8
scripts/hosts-file.sh Normal file
View File

@ -0,0 +1,8 @@
#! /bin/bash
if [[ $* == *-b* ]]; then
cp /etc/hosts ~/.config/.dotfiles/hosts
else
sudo cp ~/.config/.dotfiles/hosts /etc/hosts
fi