Last active
August 30, 2021 11:31
-
-
Save aktentasche/1acda6799eced275483c4c8972ec5bec to your computer and use it in GitHub Desktop.
my bash aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# needs https://github.com/cykerway/complete-alias | |
# wget https://raw.githubusercontent.com/cykerway/complete-alias/master/complete_alias -O ~/.complete-alias | |
# add to bashrc | |
# echo "source ~/.aktentasche_aliases" >> ~/.bashrc | |
# download this gist | |
# wget https://gist.githubusercontent.com/aktentasche/1acda6799eced275483c4c8972ec5bec/raw/adf03d47dd4de833a074ab1b3f3b2f9a93dc18e8/gistfile1.txt -O ~/.aktentasche_aliases | |
source ~/.complete-alias | |
complete -F _complete_alias sss | |
complete -F _complete_alias ssr | |
complete -F _complete_alias ssp | |
complete -F _complete_alias sst | |
complete -F _complete_alias senable | |
complete -F _complete_alias sdisable | |
alias lll="ls -lah" | |
alias ll="ls -lh" | |
alias svim="sudo vim" | |
alias sbim="sudo vim" | |
alias bim="vim" | |
alias hgrep="history | grep" | |
alias sapti="sudo apt install" | |
alias sss="sudo systemctl status" | |
alias ssr="sudo systemctl restart" | |
alias ssp="sudo systemctl stop" | |
alias ssa="sudo systemctl start" | |
alias senable="sudo systemctl enable" | |
alias sdisable="sudo systemctl disable" | |
alias openports="sudo lsof -i -P -n | grep LISTEN" | |
alias isportopen="nc -zvw10" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment