.alias

Posted bky-lxin

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了.alias相关的知识,希望对你有一定的参考价值。

##linux normal usage
alias gv gvim
alias gvd gvimdiff
alias gvdif gvimdiff

##open two windows and split vertically
alias gvh ‘gvim -o‘
##open two windows and split horizontally
alias gvv ‘gvim -O‘
##open two tab pages with one for each
alias gvp ‘gvim -p‘

alias clr clear
alias so source
alias g ‘grep --color‘
alias gc ‘grep --color -c‘
alias gr ‘grep --color -r‘
alias cpv ‘cp -v‘
alias cprf ‘cp -rf‘
alias mvv ‘mv -v‘
alias mvf ‘mv -f‘
alias rmd ‘rm -rf‘
alias rmv ‘rm -v‘
alias ll ‘ls -l --color=auto -h‘


##verilog/systemverilog tags generation
#ctags -Re --languages=SystemVerilog -f .tags /path/to/your/source/code
alias svtag ‘ctags -Re --languages=SystemVerilog -f .tags‘
alias vtag ‘perl /home/xin.li01/self_scr/vtags.pl -r‘

##quick usage to edit/source relative scripts
alias sc ‘source ~/.cshrc‘
alias oc ‘gvim ~/.cshrc‘

alias sa ‘source ~/.alias‘
alias oa ‘gvim ~/.alias‘

alias sv ‘source ~/.vimrc‘
alias ov ‘gvim ~/.vimrc‘
#install VIP
#$DESIGNWARE_HOME/bin/dw_vip_setup -path amba_vip_2018.03 -add amba_system_env_svt -v N-2018.03

##Request a bsub interative job
alias bj ‘xrdb ~/self_scr/.Xresources; bsub -I xterm &‘

##quick backup for path
alias bkp ‘setenv bp $PWD‘

##disk usage query
alias du ‘du -sh .‘
alias df ‘df -h .‘

##eda tool bjobs
alias bis ‘bsub -Is‘
alias dve ‘bsub -Is dve‘
alias vd ‘bsub -Is verdi -nologo -ssf‘
alias ct ‘bsub -Is coreConsultant &‘
alias compile ‘bsub -Is ./scripts/compile_vtb‘
alias sim ‘bsub -Is ./scripts/run_sim‘
alias run.scr ‘bsub -Is ./run.scr‘
alias smverdi ‘bis smverdi‘
alias smsim ‘bis smsim‘

##Run simulations
alias sb ‘bis smsim -immed -dump -s base‘
alias ssb ‘bis smsim -immed -dump -simonly -s base‘
##Run simulation with other than base submits
alias ss ‘bis smsim -immed -dump -s‘
alias sss ‘bis smsim -immed -dump -simonly -s‘
##Regressions
#First char: r -->Regression parts
#Second char:b--build r--regression s--status
#Third char: s-- means -s, need follwed with submit type
alias rbs ‘bis smbuild -immed -s‘
alias rrs ‘bis smregress -simonly -rm_passed -s‘
alias rss ‘bis smstatus -s‘

##postsim
alias f2v ‘bis fsdb2vcd debussy.fsdb -o postsim.vcd ‘
###MAKE self scripts
alias bmake ‘bis make‘
###########################TOOLS#############################
##SVN usage
alias slg5 ‘svn log -l 5‘
alias sup ‘svn update‘
alias sci ‘svn commit‘
alias sst ‘svn status‘
alias sdf ‘svn diff‘
alias srt ‘svn revert‘
alias srtR ‘svn revert -R‘
alias stm ‘svn st |g M‘
alias sta ‘svn st |g A‘
alias stma ‘svn st |g "M|A"‘
alias std ‘svn st | g D‘
##python
alias py python

##Change file attribution
alias ux ‘chmod u+x‘










































































以上是关于.alias的主要内容,如果未能解决你的问题,请参考以下文章

数据库-链式查询

MySQL - Mac下安装MySQL

覆盖 hybris commonI18NService roundCurrency 方法

Ionic Android应用Release指南

Linux shell 脚本中使用 alias 定义的别名

Linux基础——bash基础应用及文件系统基础命令