linux 添加常用长命令别名

## 设置linux下常用命令别名,提高效率

将要使用的命令别名写入到~/.bashrc文件,通过source ~/.bashrc命令使变更生效

alias sst='systemctl status'
alias ssa='systemctl start'
alias sso='systemctl stop'
alias sse='systemctl enable'
alias ssd='systemctl disable'
alias ssr='systemctl restart'
alias fap='firewall-cmd --zone=public --permanent --add-port='
alias fas='firewall-cmd --zone=public --permanent --add-service='
alias frp='firewall-cmd --zone=public --permanent --remove-port='
alias frs='firewall-cmd --zone=public --permanent --remove-service='
alias fr='firewall-cmd --reload'
alias sb='source .bashrc'
alias sdr='systemctl daemon-reload'
上一篇:Android-Eclipse-INSTALL_FAILED_UPDATE_INCOMPATIBLE错误


下一篇:Windows MDL原理总结