| |
|
| 3-22 |
原文: |
barry@suselinux:~> cat
/etc/passwd | tr a-z A- Z |
| |
修正: |
barry@suselinux:~> cat
/etc/passwd | tr a-z A-Z |
| |
|
|
| 3-34 |
原文: |
suselinux:~ # nocmd || date &&
pwd
/root
-bash: nocmd: command not found Sat Oct 1 11:14:22 PDT 2005 |
| |
修正: |
suselinux:~ # nocmd || date &&
pwd
-bash: nocmd: command not found
Sat Oct 1 11:14:22 PDT 2005
/root |
| |
|
|
| 3-54 |
原文: |
barry@suselinux:~> grep
' ^`echo barry`' /etc/passwd |
| |
修正: |
barry@suselinux:~> grep
'^`echo barry`'
/etc/passwd |
| |
|
|
| 4-21 |
原文: |
change:change
user password expiry information. |
| |
修正: |
chage:change user
password expiry information. |
| |
|
|
| 4-58 |
原文: |
若用於目錄,則於此目錄下無論誰新增檔案或子目錄 ( root ), |
| |
修正: |
若用於目錄,則於此目錄下無論誰 (包括 root 在內) 新增檔案或子目錄, |
| |
|
|
| 5-23 |
原文: |
當您在 /etc/fatb 裡的檔案系統有設定 auto 選項時 |
| |
修正: |
當您在 /etc/fstab 裡的檔案系統有設定 auto 選項時 |
| |
|
|
| 5-32 |
原文: |
以這裡的設定來說,cdrom 是掛載到 /media/cdrecorder |
| |
修正: |
以這裡的設定來說,DVD ROM 是掛載到 /media/dvd |
| |
|
|
| 5-42 |
原文: |
suselinux:~ # fsck.reiserfs /dev/hda10
suselinux:~ # reiserfsck -y /dev/hda10
→ 與 e2fsck 的 -y 是相同的意思。 |
|
| |
修正: |
| suselinux:~ # fsck.reiserfs /dev/hda10 Will
read-only check consistency of the filesystem on /dev/hda10
Will put log info to 'stdout'
Do you want to run this program?[N/Yes] (note need to type Yes
if you do): Yes
########## ↑
reiserfsck --check started at Wed May
3 22:33:54 2006 確認要做磁碟檢查
##########
Replaying journal..
Reiserfs journal '/dev/hda10' in blocks [18..8211]: 0 transactions
replayed
Checking internal tree..finished
Comparing bitmaps..finished
Checking Semantic tree:
finished
No corruptions found
There are on the filesystem:
Leaves 17
Internal nodes 1
Directories 30
Other files 65
Data block pointers 16 (0 of them are zero)
Safe links 0
##########
reiserfsck finished at Wed May 3 22:33:57
2006
##########
suselinux:~ # reiserfsck -y /dev/hda10
→ 加上 -y 參數後,就不會看到 [ Do you want
to run this program? ] 這個詢問了。 |
|
| |
|
|
| 8-5 |
原文: |
當您使用 crontab 指令所編輯好的排程會幫您自動寫入 … |
| |
修正: |
當 root 使用 crontab 指令所編輯好的排程會寫入
… |
| |
|
|
| 8-19 |
原文: |
suse:~ # netstat -anp | grep
:514
udp 0 0 : : : 514 : : : * |
|
| |
修正: |
suse:~ # netstat -anp | grep
:514
udp 0 0 : : : 514 : : : * |
|
| |
|
|
| 9-6 |
原文: |
顯示核心模組的相關資訊,如此模組的簡單描述 |
| |
修正: |
顯示核心模組的相關資訊,例如此模組的簡單描述 |
| |
|
|
| 9-12 |
原文: |
首先在主選單 (Linux Kernel Configuration) 畫面可以看到有很多項目做供您選擇 |
| |
修正: |
首先在主選單 (Linux Kernel Configuration) 畫面可以看到有很多項目供您做選擇 |
| |
|
|
| 10-8 |
原文: |
$0 代表程式本身的名稱,$1 代表程式後面所接的第一個引數名稱,$2 代表程式後面所接的第二個引數名稱,餘依此類推。 |
| |
修正: |
$0 表示取得程式本身的名稱,$1 表示取得程式後面所接的第一個引數名稱,$2
表示取得程式後面所接的第二個引數名稱,餘依此類推。 |
| |
|
|
| 10-9 |
原文: |
$# 代表的是位置參數的總數。
$* 代表程式後面的所有位置參數名稱列表。
$$ 代表當前 shell 的 pid。
|
| |
修正: |
$# 表示取得程式之後所有位置參數的總數為何。
$* 表示取得程式之後所有位置參數名稱列表。
$$ 表示取得當前
shell 的 pid。 |
| |
|
|
| 10-23 |
原文: |
echo You don't need to input positional parameter. |
| |
修正: |
echo "You don't
need to input positional parameter." |
| |
|
|
| 10-32 |
原文: |
50 is too big
, try again.
Please input a number here : 20 ←
輸入 20。 |
|
| |
修正: |
50 is too big
, try again.
Please input a number here : 20 ←
輸入 20。 |
|
| |
|
|
| 10-34 |
原文: |
而另外一種取得變數值得方式 |
| |
修正: |
而另外一種取得變數值的方式 |
| |
|
|
| 10-36 |
原文: |
echo you are not administrators , so can not add a new user." |
| |
修正: |
echo you are not administrators , so can not add a new user. 去掉最後的雙引號 |
| |
|
|
| 11-14 |
原文: |
另外如果您是使用 11.1.2 節介紹 |
| |
修正: |
另外如果您是使用 11.2.2 節介紹 |
| |
|
|
| 11-23 |
原文: |
suselinux:~ # ifconfig eth0
192.168.2.15 netmask 255.255.255.224 \
broadcast 192.168.2.31 |
|
| |
修正: |
suselinux:~ # ifconfig eth0
192.168.2.15 netmask 255.255.255.224 \
> broadcast 192.168.2.31 |
|
| |
|
|
| 11-26 |
原文: |
由於所抵達的目的地在 routing table 裡找不到可套用的路由資訊時,因此 |
| |
修正: |
由於所抵達的目的地在 routing table 裡找不到可套用的路由資訊,因此 |
| |
|
|
| 11-40 |
原文: |
service telnet ←
那個 telnet 是指服務名稱,而這個名稱必須與 /etc/services 中所
定義的名稱一致,很重要。
{ only_from = 192.168.1.0/24 192.168.2.0 |
|
| |
修正: |
service telnet ←
那個 telnet 是指服務名稱,而這個名稱必須與 /etc/services 中所
定義的名稱一致,很重要。
{
only_from = 192.168.1.0/24 192.168.2.0 |
|
| |
|
|
| 12-46 |
原文: |
131 IN CNAME 130.130-250
132 IN CNAME 131.130-250 |
|
| |
修正: |
131 IN CNAME 131.130-250
132 IN CNAME 132.130-250 |
|
| |
|
|
| 12-50 |
原文: |
| zone "78.132.220.in-addr.arpa" in { |
|
| |
修正: |
| zone "1.168.192.in-addr.arpa" in { |
|
| |
|
|
| 14-14 |
原文: |
建立 Samba 的帳號密碼指令為 smbpasswd,至於所建立完成的帳號密碼 |
| |
修正: |
建立 Samba 密碼的指令為 smbpasswd,至於所建立完成後的帳號密碼 |
| |
|
|
| 16-3 |
原文: |
suselinux:~ # rpm -ivh apache2-2.0.49-27.8.i586.rpm
\
apache2-prefork-2.0.49-27.8.i586.rpm |
|
| |
修正: |
suselinux:~ # rpm -ivh apache2-2.0.49-27.8.i586.rpm
\
> apache2-prefork-2.0.49-27.8.i586.rpm |
|
| |
|
|
| 17-16 |
原文: |
使用 mail from 指令來讓 SMPT Server
了解寄件者的郵件位址
使用 rcpt to 指令來讓 SMPT Server
知道收件者的郵件位址 |
| |
修正: |
使用 mail from 指令來讓
SMTP Server 了解寄件者的郵件位址
使用
rcpt to 指令來讓 SMTP Server 知道收件者的郵件位址
|
| |
|
|
| 18-11 |
原文: |
suselinux:~ # pure-pw usermod
tina -t 100 -T 50 -q 1 -Q 10 -n 30 \
-N
2 -z 1400-2230 -r
192.168.5.0/24,192.168.1.0/24 -m
參數說明:
-t-、T 來設定下載及上傳頻寬。
|
|
| |
修正: |
suselinux:~ # pure-pw usermod
tina -t 100 -T 50 -q 1 -Q 10 -n 30 \
>
-N 2 -z 1400-2230 -r
192.168.5.0/24,192.168.1.0/24 -m
參數說明:
-t-、T 設定下載及上傳頻寬。
|
|
| |
|
|
| 20-22 |
原文: |
當 Client 要請 MTA 幫忙轉寄信件時,MAT 先向 DNS 查詢 |
| |
修正: |
當 Client 要請 MTA 幫忙轉寄信件時,MTA 先向 DNS 查詢 |
| |
|
|
| |
|
|