Add an alias to edit /etc/hosts
This commit is contained in:
parent
a263b38fa0
commit
9185906426
@ -9,6 +9,9 @@ alias 'refreshalias'='source ~/.bash_aliases'
|
|||||||
# SSH management
|
# SSH management
|
||||||
alias 'editssh'='vim ~/.ssh/config'
|
alias 'editssh'='vim ~/.ssh/config'
|
||||||
|
|
||||||
|
# Edit hosts file
|
||||||
|
alias 'edithosts'='sudo vim /etc/hosts'
|
||||||
|
|
||||||
# System packages using apt
|
# System packages using apt
|
||||||
alias 'update'='sudo apt update'
|
alias 'update'='sudo apt update'
|
||||||
alias 'upgrade'='sudo apt update && sudo apt upgrade'
|
alias 'upgrade'='sudo apt update && sudo apt upgrade'
|
||||||
|
Loading…
Reference in New Issue
Block a user