命令行下利用别名打开ss以及设置相关代理(写到~/.bashrc中使永久有效)

#open proxy
alias proxystart='gsettings set org.gnome.system.proxy mode auto && nohup ss-qt5 &'

#close proxy
alias proxystop='gsettings set org.gnome.system.proxy mode none && pkill ss-qt5'

 

更新~/.bashrc

#update ~/.bashrc
source ~/.bashrc

 

命令行打开桌面文档GUI

#open document gui in termimal
nautilus ~/Documents

 

posted on 2017-12-06 11:15  半宅  阅读(118)  评论(0编辑  收藏  举报