1. 背景: 黑底白字
2. 用多種顏色顯示 man page
in ~/.bashrc , add below:
# colorful man page
export PAGER="`which less` -s"
export BROWSER="$PAGER"
export LESS_TERMCAP_mb=$'\E[0;34m'
export LESS_TERMCAP_md=$'\E[0;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'
3. Let terminal colorfulin ~/.bashrc , uncomment below line:
#force_color_prompt=yes
Reference: Nelson
2009年9月30日 星期三
Terminal 改進方法
Category:
my
2009年9月28日 星期一
mount iso file
1) Using Nautilus Scriptstwo scripts for mount iso images: mount,unmount
sudo chmod +x /home/username/mount.sh
sudo chmod +x /home/username/unmount.sh
sudo mv /home/username/mount.sh ~/.gnome2/nautilus-scripts/
sudo mv /home/username/unmount.sh ~/.gnome2/nautilus-scripts/
it will show up when you click the right button.
2) Using kernel loop module
mount:# make dir to mount
sudo mkdir /media/isoimage
# loop mount
sudo mount my.iso /media/isoimage/ -t iso9660 -o loop
unmount:sudo umount /media/isoimage
reference
Category:
ubuntu
訂閱:
文章 (Atom)