原创 LFS檢查工具鏈檢查

轉自:http://www.linuxsir.org/bbs/showthread.php?t=244102    1.在做好 /tools -> /mnt/lfs/tools 下的第一遍工具鏈之後, chroot 之前, 檢查 /too

原创 printf 語法

printf,寬字符

原创 windows 2003中IE無法更改安全級別

裝了2003後上網一直提示安全問題,但在IE中的“Internet選項”對話框中選擇“安全”標籤,並把“該區域的安全級別”滾動條設置爲“中”卻一直不成功,始終處在高級別,不知怎樣才能把它拉下來到中的位置。      解決辦法:在添加刪

原创 syslogd

The sysklogd script invokes the syslogd program with the -m 0 option. This option turns off the periodic timestamp mark

原创 case的用法

 case "$1" in     start)          case "$UTC" in               yes|true|1)                    echo "Setting system cloc

原创 const函數參數

const修飾參數爲不可修改類 文字量,常量和需要進行類型轉換的參數只能傳遞給const的引,而不能傳遞給非const類型的引用參數   #include <cstdlib>#include <iostream> using namesp

原创 新職員上班後和老闆的對話

轉自http://topic.csdn.net/u/20081124/17/99a16811-89db-4ba4-82b7-d8f5fa85b50a.html    老闆:萬分歡迎,沒有你我們的公司肯定大不一樣!     職員:如果工作太

原创 mount命令詳解

mount命令詳解功能:加載指定的文件系統。語法:mount [-afFhnrvVw] [-L<標籤>] [-o<選項>] [-t<文件系統類型>] [設備名] [加載點]用法說明:mount可將指定設備中指定的文件系統加載到Linux目

原创 參數替換

${parameter-default}, ${parameter:-default} ${parameter-default} -- 如果變量parameter沒被聲明, 那麼就使用默認值. ${parameter:-default}

原创 Configuring the network Script

cat /etc/udev/rules.d/70-persistent-net.rules     SUBSYSTEM=="net" - This tells Udev to ignore devices that are not ne

原创 locale -a

LC_ALL=<locale name> locale languageLC_ALL=<locale name> locale charmapLC_ALL=<locale name> locale int_curr_symbolLC_AL

原创 /etc/inputrc

cat > /etc/inputrc << "EOF"# Begin /etc/inputrc# Modified by Chris Lynn <[email protected]># Allow the command prom