Linux Tips
command
  • Linux kernel: uname -r
  • C header manpage package: manpages-dev
  • 915resolution 49 1280 800 24
  • ssh -X ip: enable X11 application on remote machine
  • echo 3 > /proc/sys/vm/drop_caches #release caches
  • free -m # check memory usage
mplayer

用管理者權限編輯以下檔案

/etc/mplayer/mplayer.conf

加入以下內容

subcp=cp950
font=/usr/share/fonts/truetype/arphic/ukai.ttf
subfont-text-scale=3

colorful manpage

append in ~/.bashrc

# colorful man page
export PAGER="`which less` -s"
export BROWSER="$PAGER"
export LESS_TERMCAP_mb=$'\E[0;34m'
export LESS_TERMCAP_md=$'\E[1;34m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[0;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[0;33m'
pthread manpage
sudo apt-get install manpages-posix manpages-posix-dev
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License