various issues and solutions in linux based system

来源:互联网 发布:淘宝女装店铺标签 编辑:程序博客网 时间:2024/05/21 06:32

GREP error. Perhaps there are too many filenames.

put following line in vimrc

let g:flags='imstv'

ERROR: Cannot umount

put following line in /etc/exports

board's ip    /path/to/nfs/dir

How to set colorful manpage in linux

# put following set in bashrc
export PAGER="`which less` -s"
export BROWSER="$PAGER"
export LESS_TERMCAP_mb=$'\E[01;34m'
export LESS_TERMCAP_md=$'\E[01;34m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;33m'

man console_codes for the syntax

Why do a lot of #defines in the kernel use do { ... } while(0)?

http://kernelnewbies.org/FAQ/DoWhile0


原创粉丝点击