比較討厭的是,輸入錯誤的指令也會佔據有限的 history 空間,令人想除之而後快。不過 CuteCom 似乎沒有提供刪除 history 的介面。後來找到一個解法,直接編輯設定檔:
vi .config/Unknown\ Organization.conf修改最底下那行 History= 就可以了。
靠軟體謀生真不易... 勤作筆記,幫助記憶...
vi .config/Unknown\ Organization.conf修改最底下那行 History= 就可以了。
sudo apt-get install colordiff使用方式:
sudo -s註:若看不到任何東西,表示你的 Ubuntu 沒有自動幫你 mount 剛插入的光碟。請用以下指令自己來:
ls -la /media/cdrom
mount -t iso9660 /dev/cdrom /media/cdrom若一切順利,你應該會看到幾個 VBox 開頭的檔案。然後,請執行以下指令:
/media/cdrom/VBoxLinuxAdditions-x86.run如果你的 guest Ubuntu 才剛安裝完畢,上述指令應該會提醒你缺了哪些東西以至於無法安裝。以下是我剛安裝好 jeos-8.04.3-jeos-i386 之後所得到的「提醒」:
VirtualBox 3.0.6 Guest Additions installation此時你必須發揮見招拆招的精神把這些問題解決:
Please install GNU make.
Please install the build and header files for your current Linux kernel.
Ther current kernel version is 2.6.24-24-virtual
Please install the GNU compiler.
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.
apt-get install make將缺少的東西補足之後,再執行一次 VBoxLinuxAdditions-x86.run 即可完成安裝的動作。
apt-get install linux-headers-2.6.24-24-virtual
apt-get install gcc
lsmod | grep vbox恭喜!這代表你已經大功告成了!
http://www.vmware.com/download/player/截至發文的時間,最新的版本是 2.5.3。若你有安裝舊版本,請用以下指令移除:
$ LANG=C rpm -e VMware-Player若用以下指令安裝,會有「相依性偵測失敗:/bin/sh 被 VMware-Player-2.5.3-185404.i386 所需要」的錯誤發生:
$ rpm -Uhv VMware-Player-2.5.3-185404.i386.rpm請改用以下指令跳過相依性檢查,就可以安裝成功:
$ LANG=C rpm --nodeps -Uhv VMware-Player-2.5.3-185404.i386.rpm安裝成功之後,可以在系統工具選單找到 VMware Player 的啟動圖示。
Predefined Macros (GNU C/C++)這份資料所提到的 System-specific Predefined Macros 是指針對不同的系統平台 (arm、mips 等),編譯器所預先定義的特殊巨集。若想直接看看這些預先定義的巨集,可執行以下指令:
echo | gcc -dM -E - | sort使用 Microsoft 系列編譯器的人,可參考以下資料:
Predefined Macros (MSDN)
sudo apt-get install rcconf