[Linux教程]Linux 职业认证考试50个必考知识内容(2)

16. dpkg (略)


内核

17. lsmod命令显示系统中已装载的模块. insmod命令用于装载模块.
rmmod命令用于卸载模块. modinfo用于显示模块的有关信息.

18. modprobe工具可根据模块的依赖情况装载模块. depmod 显示
模块的依赖情况.

19. conf.modules 和 modules.conf 没有任何区别. 不同的Linux
发布商使用不同的文件.

20. 内核通常使用linux-x.y.z命名, x.y.z 代表版本号.

21. "make config" 提供一字符界面用于配置内核.

22. "make xconfig"提供一X图形界面用于配置内核.

23. "make dep" 用于建立内核文件的依赖关系. 编好新内核后, 要修改
/etc/lilo.conf, 以使用新内核.


文本编辑, 处理和打印

24. vi 的方向键:
h -- 左
l -- 右
j -- 下
k -- 上

25. vi 的命令:
c - 修改文本
d - 删除文本
i - 插入文本
o - 在当前行下插入一新行
O - 在当前行上插入一新行
p - 将缓冲区内容插入
r - 字符替换
R - 替换模式
u - undo
x - 删除字符
y - 拷贝入缓冲区

26 - 31 (printing stuff, 我的机器不能打印, 就不翻了. )

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.


Shell, 脚本, 编程, 编译

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

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/441bdeeeab58be0cd34e0c6f2638dac8.html