码迷,mamicode.com
首页 > 其他好文 > 详细

.alias

时间:2018-12-26 13:32:09      阅读:196      评论:0      收藏:0      [点我收藏+]

标签:split   first   its   ant   call   mpi   self   window   ges   

##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

标签:split   first   its   ant   call   mpi   self   window   ges   

原文地址:https://www.cnblogs.com/bky-lxin/p/10178525.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!