February 2004 Archives

html 信件

user-pic
Vote 0 Votes

MIME-Version, Content-Type header 為 html 信件必備, 缺一 html 信無法正常顯示

cat $TEMP | formail -k -X From -X To -X Subject -X MIME-Version -X Content-Type -I "To: $EMAIL" -I "Subject:$SUBJECT" | sendmail -t

OSI Approved Licenses

user-pic
Vote 0 Votes

Login failed.
No control connection for command: No such file or directory
當出現上述, 表示 /etc/passwd 裡 ftp 帳號的 home 目錄不存在

台語字典

user-pic
Vote 0 Votes

http://203.64.42.21/iug/Ungian/soannteng/chil/Taihoa.asp

自解 script 範例

user-pic
Vote 0 Votes

把以下存成 script 檔 test.sh, 把壓好的 file.tgz 附加在後面 cat file.tgz >> test.sh
exit 0 以上的地方可以再加任意指令

#!/bin/sh
tail +$((`grep -an "^### end of script" $0 | head -1 | cut -d: -f1`+1)) $0 | tar zxf -


exit 0
### end of script ### by pank

調大 H, cylinders 變少, size 變小(小幅)
調大 S, cylinders 變少, size 變小(小幅)
所有要得到最大 size, fdisk 時, -H -S 都用最小

About this Archive

This page is an archive of entries from February 2004 listed from newest to oldest.

January 2004 is the previous archive.

March 2004 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives