| 25. vi的命令:
c -修改文本
d -删除文本
i -插入文本
o -在当前行下插入一新行
O -在当前行上插入一新行
p -将缓冲区内容插入
r -字符替换
R -替换模式
u - undo
x -删除字符
y -拷贝入缓冲区
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. 下一篇:Linux职业认证考试102的必考点[3] 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设置边界颜...[查看详情] |