Linux职业认证考试102的必考点
来源:优易学  2009-11-20 22:23:49   【优易学:中国教育考试门户网】   资料下载   IT书店
全站文章页内部300*250广告位

26. The lpc utility is the main one used to manage the print service,while lpq is the primary tool for looking at and interacting with the print queue.

  27. The lpr command is used to submit jobs to the print service, and there are a wide number of options that can be used with it, including:

  -b to suppress a banner

  -K to specify a number of copies to print

  -# the same as -K

  -m to send error messages via mail

  -T to signify a title page

  -w to define the width

  28. The /etc/printcap file is a database defining what each known printer is capable of. It is read once by lpd at starup.

  29. The lpd.perms file hods the permissions for the lpd service and can affect the operation as such utilities as lpc and lpq.

  30. The lpd.conf file is used to configure the actual lpd service. There are 180 options that can be configured.

  31. The lprm command is used to remove print jobs, and lprm -a will attempt to remove all spooled jobs.

32. /etc/profile在用户登陆时被执行,然后不同的SHELL会执行用户home下的对应配置文件.如bash依次查找.bash_profile, .bash_login和.profile.

  33. .bashrc在SHELL运行开始时被执行. .inputrc用于键盘配置.

  34. SHELL脚本必须有可执行权限,或是直接被SHELL读入执行. 0代表正常退出.

  35. SHELL脚本中应用"#!"说明解释器位置(如#!/usr/bin/perl)

  36. $1代表第一个命令行参数. shift命令将$2变为$1,依此类推.

  37. test或者[]可用于进行逻辑测试. if-fi构成判断块.

  X窗口

  38. "X -showconfig"显示X的配置情况. startx用于启动X窗口.

  39. xterm参数:

  -bd设置边界颜色

  -bg设置后景色

  -fg设置前景色

  -fn设置字体

  网络

  40. /etc/services 提供端口号与服务名的对应. 如 80 - http, 23 - telnet...

  41. DHCP用于自动分配IP. IP地址有32位, 8位一组. 通过前8位将IP地址分为不同类组:

  1-126 A 类
  128-191 B 类
  192-223 C 类

  在Internet上的IP地址必须独立(UNIQUE).

  42. 一些IP地址可用于内部网络:

  10.x.x.x A 类
  172.16.x.x B 类
  192.168.x.x C 类

  43. netmask用于识别一个主机是否属于当前网络. 缺省netmask为:

  A 类 255.0.0.0
  B 类 255.255.0.0
  C 类 255.255.255.0

网络服务

  44. inetd 是超级daemon, 调用其他服务. 它使用/etc/inetd.conf配置文件决定应管理哪些服务.

  45. hosts.allow 和 hosts.deny 用于访问控制. NFS 使用/etc/exports提供的配置决定export那些文件系统. SMB用于与WINDOWS主机通讯. NMB用于识别WINDOWS主机提供的资源.

  46. sendmail.cf 是 sendmail的主要配置文件. /etc/aliases 提供mail地址别名. /var/spool/mqueue 中存有mail的消息队列. mailq用于检查mail的消息队列. newaliases 用于建立新的别名文件.

  47. Apache提供WEB服务. access.conf, httpd.conf和srm.conf是它的配置文件.

安全

  48. /etc/profile 中的umask值应小心配置, 尽量减小新文件的权限.

  49. 对于SUID和SGID程序要特别小心, 尽量用权限最小的user和group.

  50. shadow password用于提高 /etc/passwd的安全性. 应使用quotas对用户的磁盘空间进行限制. 应有对密码的安全性检查, 保证密码至少有6-8个字符, 并定期更换密码.

  注:102为考试代号,并非是指有102个考点

上一页  [1] [2] 

责任编辑:虫虫

收藏此页】【 】【打印】【回到顶部
计算机文章页底部500*200广告
文章搜索:
 相关文章
计算机底部580*90广告
文章页右侧第一330*280广告
计算机文章页资讯推荐
热点资讯
文章页330尺寸谷歌广告位
热门课程培训