Last active
November 5, 2023 16:40
-
-
Save Lifeni/792cbc67cefc80f51962b40dceef29fd to your computer and use it in GitHub Desktop.
Bash 别名备份
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
alias docker='sudo docker' | |
alias compose='sudo docker compose' | |
alias caddy='sudo caddy' | |
alias caddyfile='sudo nano /etc/caddy/Caddyfile' | |
alias ll='ls -alh' | |
alias lll='ls -hl' | |
alias start='sudo systemctl start' | |
alias stop='sudo systemctl stop' | |
alias reload='sudo systemctl reload' | |
alias restart='sudo systemctl restart' | |
alias edit='sudo systemctl edit' | |
alias status='sudo systemctl status' | |
alias myip='curl myip.ipip.net' | |
alias dns='nslookup' | |
alias hosts='sudo nano /etc/hosts' | |
alias bashrc='nano ~/.bashrc' | |
alias source='source ~/.bashrc' | |
alias bye='sudo poweroff' | |
alias reboot='sudo reboot' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment