bash / csh 奮戰筆記

寫法上有點不同

> vi .bashrc

umask 022

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias ll='ls -l'
alias lm='ls -al|more'
alias h='history'


>vi .cshrc

umask 022

alias rm 'rm -i'
alias cp 'cp -i'
alias mv 'mv -i'
alias ll 'ls -l'
alias lm 'ls -al|more'
alias h 'history'



參考文章:
1. Bash的環境設定
2. 新增你的慣用指令~/.bashrc
3. Appendix K. A Sample .bashrc File
4. bash, tcsh shell variable experience

Comments

Popular posts from this blog

梵文學習筆記 (2) 從大悲咒談起

2020 庚子年白沙屯媽祖北港進香(一)在北港朝天宮與白沙屯媽祖相見歡

大馬歌手黃明志