免费网站app代码,新媒体运营好做吗,怎么自己做app,青岛seo杭州厂商1#xff1a;alias别名设置说明
我们想将某个可执行程序#xff0c;命名为其它名称#xff1b;比如为python指定对应的python版本
给python39指定python版本
alias python3/home/du/Downloads/Python-3.9.9/pythonduubuntu:/root$ python39 -V
Python 3.9.92#xff1a;…1alias别名设置说明
我们想将某个可执行程序命名为其它名称比如为python指定对应的python版本
给python39指定python版本
alias python3/home/du/Downloads/Python-3.9.9/pythonduubuntu:/root$ python39 -V
Python 3.9.92查看已经设置的alias别名
alias -p
duubuntu:/root$ alias -p
alias alertnotify-send --urgencylow -i $([ $? 0 ] echo terminal || echo error) $(history|tail -n1|sed -e \s/^\s*[0-9]\\s*//;s/[;|]\s*alert$//\)
alias egrepegrep --colorauto
alias fgrepfgrep --colorauto
alias grepgrep --colorauto
alias lls -CF
alias lals -A
alias llls -alF
alias lsls --colorauto
alias python39/home/du/Downloads/Python-3.9.9/python3: 取消alias别名设置
unalias 已设置的别名
duubuntu:/root$ unalias l
duubuntu:/root$ alias -p
alias alertnotify-send --urgencylow -i $([ $? 0 ] echo terminal || echo error) $(history|tail -n1|sed -e \s/^\s*[0-9]\\s*//;s/[;|]\s*alert$//\)
alias egrepegrep --colorauto
alias fgrepfgrep --colorauto
alias grepgrep --colorauto
alias lals -A
alias llls -alF
alias lsls --colorauto
alias python39/home/du/Downloads/Python-3.9.9/python
duubuntu:/root$ 注意要想保证alias设置的别名启动生效需要将设置参数加入到 /root/.bashrc 中, 然后执行 source ./.bashrc