Chinaunix首页 | 论坛 | 博客
  • 博客访问: 629332
  • 博文数量: 110
  • 博客积分: 2352
  • 博客等级: 大尉
  • 技术积分: 1253
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-29 14:00
文章分类
文章存档

2018年(1)

2013年(20)

2012年(89)

发布时间:2013-08-07 17:29:26

前两天,在对Linux下的文本操作时,遇到值显示偶数行的情况,在网上找到如下几种方法能实现!sed '1d;n;d'  status.txtsed -n 'n;p' status.txtsed -n '0~2p' status.txtawk '!(NR%2)' status.txtawk 'i++%2' status.txtawk '!(i=i?0:1)' status.txtawk '!(i=!i)' status.txt.........【阅读全文】

阅读(2865) | 评论(0) | 转发(0)

发布时间:2013-07-23 15:05:55

1.具有相同core id的cpu是同一个core的超线程。 2.具有相同physical id的cpu是同一颗cpu封装的线程或者cores。 英文版: 1.Physical id and core id are not necessarily consecutive but they are unique. Any cpu with the same core id are hyperthreads in the same core.2.Any cpu with the same p.........【阅读全文】

阅读(9277) | 评论(0) | 转发(0)

发布时间:2013-07-15 17:47:28

1.mtime(medify time):最后一次修改文件或目录的时间2.ctime(chang time) :最后一次改变文件或目录(改变的是原数据即:属性)的时间如:记录该文件的inode节点被修改的时间。touch命令除了-d和-t选项外都会改变该时间。而且chmod,chown等命令也能改变该值。3. atime(access time)::最后一次访问文件或目录的时间 对.........【阅读全文】

阅读(2266) | 评论(0) | 转发(1)

发布时间:2012-09-03 10:36:25

......【阅读全文】

阅读(789) | 评论(0) | 转发(0)

发布时间:2012-05-22 17:35:13

......【阅读全文】

阅读(2766) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册