会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chencesc
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
17
下一页
2017年1月17日
shell grep
摘要: grep "str" file > /dev/null if [ $? -eq 1]; then echo "no str" else echo "find str" fi 输出到/dev/null中为了不打印输出
阅读全文
posted @ 2017-01-17 09:52 chencesc
阅读(116)
评论(0)
推荐(0)
2017年1月16日
shell sed
摘要: 匹配 sed -n '/pattern/p' file_name |sed -n 7,12p #pattern是你要查的内容 #file_name是你要查的文件 以上实现:打印出匹配结果中的7-12行 sed -n '/pattern/{7,12p}' file_name 以上实现将文件中7到12行
阅读全文
posted @ 2017-01-16 13:00 chencesc
阅读(116)
评论(0)
推荐(0)
2017年1月15日
shell awk
摘要: 每行操作 cat 1.log|while read line; do NAME=`awk 'BEGIN {split("'"$line"'",arr);print arr[1]}'` ID=`awk 'BEGIN {split("'"$line"'",arr);print arr[2]}'` don
阅读全文
posted @ 2017-01-15 19:00 chencesc
阅读(106)
评论(0)
推荐(0)
shell脚本入门
摘要: http://blog.csdn.net/yuguiyang1990/article/details/40400271
阅读全文
posted @ 2017-01-15 17:35 chencesc
阅读(114)
评论(0)
推荐(0)
内核kconfig语法及原理
摘要: 语法 http://www.cnblogs.com/AP0904225/p/5967979.html 目前自己用过 一、菜单 menu "desc" endmenu 二、可配菜单 menuconfig CONFIG_STR bool "desc" depends on CONFIG_OTHER de
阅读全文
posted @ 2017-01-15 13:21 chencesc
阅读(504)
评论(0)
推荐(0)
2017年1月4日
c c++互相调用
摘要: http://www.cppblog.com/franksunny/archive/2007/11/29/37510.html http://www.tuicool.com/articles/vuymUz
阅读全文
posted @ 2017-01-04 13:59 chencesc
阅读(112)
评论(0)
推荐(0)
c++书
摘要: http://www.enet.com.cn/eschool/video/c++/ 视频 http://www.runoob.com/cplusplus/cpp-inheritance.html 书 http://www.cnblogs.com/ggjucheng/archive/2011/12/1
阅读全文
posted @ 2017-01-04 13:28 chencesc
阅读(101)
评论(0)
推荐(0)
2016年12月27日
dvb标准
摘要: 一、概念 DVB, 数字视频广播Digital Video Broadcasting的缩写, 是由DVB项目维护的一系列国际承认的数字电视公开标准。(欧标)二、分类DVB系统传输方式有如下几种: 卫星 (DVB-S 及 DVB-S2) ;有线 (DVB-C) ;地面无线 (DVB-T DVB-T2)
阅读全文
posted @ 2016-12-27 19:00 chencesc
阅读(1410)
评论(0)
推荐(0)
2016年12月22日
linux platform设备与驱动
摘要: 以上是头文件的结构体定义 以前的写法 : http://blog.csdn.net/lichengtongxiazai/article/details/38941997 DT书写规范 http://www.right.com.cn/forum/thread-146260-1-1.html DT(2)
阅读全文
posted @ 2016-12-22 12:55 chencesc
阅读(1082)
评论(0)
推荐(0)
2016年12月21日
linux 字符设备驱动写法
摘要: 字符设备,块设备书 一、register_chrdev_region, register_chrdev, misc_register misc device(杂项设备) 在 Linux 内核的include/linux目录下有miscdevice.h文件 所有这些设备采用主编号10 ,一起归于mis
阅读全文
posted @ 2016-12-21 18:36 chencesc
阅读(475)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
17
下一页
公告