免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1185 | 回复: 0
打印 上一主题 下一主题

Fedora 8 Linux 从入门到精通 勘误表 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-01-05 17:01 |只看该作者 |倒序浏览

Fedora 8 Linux从入门到精通》勘误表

75
$ echo “\n\tCommand Menu
改为
$ echo –e “\n\tCommand Menu

80
-rw-r--r-- 1 root root 937 2006-01-31 profile
改为
-rw-r--r-- 1 root root 937 2006-01-31 /etc/profile

81
-rw-r--r-- 1 root root 937 2006-01-31 profile
改为
-rw-r--r-- 1 root root 937 2006-01-31 /etc/profile

185页第2
应为
$ ORACLE_HOME=/oracle/OraHome1;export ORACLE_HOME

123
for dirname in ${PATH}
改为
for dirname in `echo ${PATH}`

235
$ ls –l *.c
total 32
-rw-r--r-- 1 gqxing gqxing 4589 Dec 26 12:56 atmcom.c
改为
$ ls –l *.c
-rw-r--r-- 1 gqxing gqxing 4589 Dec 26 12:56 atmcom.c

292

从图9-1的输出数据中可以看出,截止到14时56分25秒,最后一次调度的进程ID是4028,
改为
从图9-1的输出数据中可以看出,截止到13时45分29秒,最后一次调度的进程ID是4028,

300
# renice +1 –p 123 512 -u daemon
改为
# renice +1 –p 2915 2946 -u apache

下面的例子是在提高10级进程nice调整值时,运行find命令的结果。
改为
下面的例子是在提高10级进程nice调整值时,运行dd命令的结果。

# time nice –n -10 find / -name core –print
23768577+0 records in
23768577+0 records in
改为
# time nice –n -10 dd if=/dev/sda5 of=/dev/null
23768577+0 records in
23768577+0 records out

301
下面的例子是在降低10级进程nice值时运行find命令的结果:
改为
下面的例子是在降低10级进程nice值时运行dd命令的结果:

# time nice –n 10 find / -name core –print
23768577+0 records in
23768577+0 records in
改为
# time nice –n 10 dd if=/dev/sda5 of=/dev/null
23768577+0 records in
23768577+0 records out

从上方两个以不同进程优先级运行find命令的输出结果可以看出两点:
改为
从上方两个以不同进程优先级运行dd命令的输出结果可以看出两点:

328

for file in `find . -type f -atime +60 -print 2>/dev/null`
do
if [ -f "${file}" ]
then
if grep -v `basename ${file}` /opt/savefile >/dev/null
then
ls -l "${file}"
fi
fi
done | tee /tmp/flist
改为
for file in `find $dir -type f -atime +60 -print 2>/dev/null`
do
if ! grep `basename ${file}` /opt/savefile >/dev/null
then
ls "${file}"
fi
done | tee /tmp/flist

522
删除下列两行:
telnet          23/udp
telnet          4096/udp

355
Filesystem      blocks     soft      hard    inodes     soft     hard
改为
Filesystem    blocks   quota   limit   grace    files   quota   limit   grace

575
地址。为了使本地系成为域名服务器,只须把localhost、127.0.0.1或自己的IP地址加到/etc/resolv.conf file文件中。
改为
地址。为了使本地系统成为域名服务器,只须把localhost、127.0.0.1或自己的IP地址加到/etc/resolv.conf文件中。

672
# bzip2 sdb2image
e2image 1.39 (29-May-2006)
改为
# bzip2 sdb2image

673
# ls –l sdb2image
改为
# ls –l sdb2image.bz2



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/49433/showart_1775479.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP