From 918590642686a71c56d5c20ebccfb6c6448f97c2 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Wed, 1 Jul 2020 11:38:48 -0400 Subject: [PATCH] Add an alias to edit /etc/hosts --- .bash_aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bash_aliases b/.bash_aliases index e881293..5daa883 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -9,6 +9,9 @@ alias 'refreshalias'='source ~/.bash_aliases' # SSH management alias 'editssh'='vim ~/.ssh/config' +# Edit hosts file +alias 'edithosts'='sudo vim /etc/hosts' + # System packages using apt alias 'update'='sudo apt update' alias 'upgrade'='sudo apt update && sudo apt upgrade'