2015年12月20日

摘要: linux中的Cron命令是Linux的内置服务,用于定时的循环的服务。 1、启动、重启、关闭这个服务: /sbin/service crond start //启动服务 /sbin/service crond stop //关闭服务 /sbin/service crond restart //重启 阅读全文
posted @ 2015-12-20 12:04 chenxiaopang 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 1、cp的功能拷贝一个或多个文件(或目录)到目的地2、例子1)一次拷贝多个源文件到目的地#cp /mnt/hgfs/DOC/{1,2,3,4,5}.txt /root/ldj2)只拷贝链接文件到一个新的位置,不拷贝实际链接的文件#cp -d libc.so.6 / 只拷贝符号连接... 阅读全文
posted @ 2015-12-20 10:53 chenxiaopang 阅读(906) 评论(0) 推荐(0) 编辑
摘要: 1、comm的功能对两个排序过的文本文件进行逐行比较基本用法:comm -[123] file1 file22、例子1)显示两个文本文件都有的行#comm -12 file1 file22)显示file1中独有的行,以及file2中独有的行#comm -3 file1 file23)显示file1中... 阅读全文
posted @ 2015-12-20 10:26 chenxiaopang 阅读(506) 评论(0) 推荐(0) 编辑

导航