上一页 1 ··· 20 21 22 23 24
摘要: gvim的tabe标签页打开跟在同一个页面(标签中)打开,对buffer的影响都是一样的,都是增加新的buffer可以认为gvim的命令行模式跟bash shell里的操作差不多在命令行模式中通过!comm可以执行shell命令, 甚至完全从vim切换到shell,使用命令:shell,退回用exi... 阅读全文
posted @ 2015-10-18 23:16 noitanym 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 编辑文件: /etc/gdm/custom.conf的内容: 1 # GDM configuration storage 2 3 [daemon] 4 #GtkModulesList=gail:atk-bridge:/usr/lib/gtk-2.0/modules/libkeymouselist... 阅读全文
posted @ 2015-10-18 07:03 noitanym 阅读(480) 评论(0) 推荐(0) 编辑
摘要: netstat -a (--all) : show both listening and non-listening sockets默认是不显示正在侦听的进程,只显示已经established的netstat 结果中:0.0.0.0 和 * : 都表示机器所有的ip地址,如127.0.0.1(本机l... 阅读全文
posted @ 2015-10-16 11:08 noitanym 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 最简安装centos6.4时,xinetd服务是没有安装的,只是在/etc下有xinetd.d目录, 没有xinetd.conf这个配置文件xinetd is a secure replacement for inetd in higher centos versionafter "xinetd" ... 阅读全文
posted @ 2015-10-15 15:36 noitanym 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 一般来说,安装某个包,某个服务,某个软件时,可能会做以下事情(不一定全部)- 在安装目录: /usr/bin, /usr/lib: /usr/you_specified_bin/, /usr/you_specified_lib, 下安装可执行文件和库文件- 在/var/certain_softwar... 阅读全文
posted @ 2015-10-15 10:19 noitanym 阅读(186) 评论(0) 推荐(0) 编辑
摘要: auditd审计相关命令有: auditd, auditctl, ausearch, aureport相关文件: /etc/audit/auditd.conf, /etc/audit/audit.rules, /var/log/audit/audit.log主要有两种方法进行设置,一是直接使用命令a... 阅读全文
posted @ 2015-10-13 18:23 noitanym 阅读(209) 评论(0) 推荐(0) 编辑
摘要: #! /usr/bin/expect -f# this script is used to practise the command "expect"#when "lindex" have been used here, the array index begins with 0 but not w... 阅读全文
posted @ 2015-10-12 18:48 noitanym 阅读(155) 评论(0) 推荐(0) 编辑
摘要: if引导的条件从句,分为真实条件语句和非真实/假设/虚拟条件语句(也就是常说的虚拟语气?)“虚拟“ 条件从句表示的一定是与真实情况相反的, 可以是跟过去的真实情况“相反” 的,也可以是跟现在/将来真实情况相反的假设。 虚拟条件从句和主句的谓语形式一定是过去形式主句的谓语助动词一定是: should/... 阅读全文
posted @ 2015-10-12 17:09 noitanym 阅读(1559) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24