ssh wudi@hostname

 

bashrc

先修改全局的/etc/bashrc, 再考虑修改.bashrc

 

alias ll='ls -alF'

alias rm='rm -i' 

alias cp='cp -i'

alias mv='mv -i'

 

alias list='svn st -q'

alias svnmeld="svn diff --diff-cmd=meld"

(有些版本某些选项没有)export GREP_OPTIONS="--exclude=*.svn-base --exclude=*.log --exclude=cscope.* --exclude=tags --exclude=*~ --exclude=*.tmp --exclude-dir=*.svn"

 

source .bashrc

 

一:ls

    -a  --all : do not ignore entries starting with .

    -A  , --almost-all : do not list implied . and ..   

    -l : use a long listing format.

    -F, --classify: append indicator (one of */=>@|) to entries.    列出子目录时在后面加/, 可执行文件后加*。

 

 二: rm

    -i: prompt before every removal. 在每次删除前提示确认。

   

三: cp

    -i, --interactive: prompt before overwrite.在拷贝覆盖前提示确认。

 

四: mv

    -i, --interactive: prompt before overwrite. 在移动覆盖前提示确认。

相关文章:

  • 2022-12-23
  • 2021-08-13
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2021-05-08
  • 2022-01-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-11-17
  • 2022-01-01
  • 2022-12-23
相关资源
相似解决方案