Added "apt remove" alias and some comments
This commit is contained in:
parent
53400e2829
commit
dc77053705
@ -1,13 +1,24 @@
|
|||||||
# Local system administration
|
# Local system administration
|
||||||
|
|
||||||
|
# Alias management
|
||||||
alias 'editalias'='vim ~/.bash_aliases && . ~/.bash_aliases'
|
alias 'editalias'='vim ~/.bash_aliases && . ~/.bash_aliases'
|
||||||
alias 'otheralias'='vim ~/.other_aliases && . ~/.bash_aliases'
|
alias 'otheralias'='vim ~/.other_aliases && . ~/.bash_aliases'
|
||||||
alias 'viewalias'='view ~/.bash_aliases'
|
alias 'viewalias'='view ~/.bash_aliases'
|
||||||
alias 'refreshalias'='source ~/.bash_aliases'
|
alias 'refreshalias'='source ~/.bash_aliases'
|
||||||
|
|
||||||
|
# SSH management
|
||||||
alias 'editssh'='vim ~/.ssh/config'
|
alias 'editssh'='vim ~/.ssh/config'
|
||||||
|
|
||||||
|
# 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'
|
||||||
alias 'install'='sudo apt update && sudo apt install'
|
alias 'install'='sudo apt update && sudo apt install'
|
||||||
|
alias 'remove'='sudo apt remove'
|
||||||
|
|
||||||
|
# Restart display manager
|
||||||
alias 'restartgui'='sudo service sddm restart'
|
alias 'restartgui'='sudo service sddm restart'
|
||||||
|
|
||||||
|
# Power management
|
||||||
alias 'reboot'='sudo reboot'
|
alias 'reboot'='sudo reboot'
|
||||||
alias 'shutdown'='sudo shutdown'
|
alias 'shutdown'='sudo shutdown'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user