摘要:
lib+库名+so 就是库文件 库文件在/lib /usr/lib usr/local/lib -l才可以连接 生成动态库: g++ 生成.o文件 生成静态库: gcc生成.o文件 ar在生成.a文件 阅读全文
posted @ 2016-04-04 13:58
夜空释
阅读(116)
评论(0)
推荐(0)
摘要:
pr_debug pr_err pr_warning pr_info 都是打印信息到终端 2. modules_ALIAS模块的别名 3.moudele_param(watchdog,int,0644); MODULE_PARM_DESC(watchdog,"this is hahaha"); // 阅读全文
posted @ 2016-04-04 13:52
夜空释
阅读(162)
评论(0)
推荐(0)
摘要:
1.rc.local系统最后的启动脚本。 rc(0-6).d都是init.d的软连接 2.、etc/profile是用户登录之后的启动脚本 .profile第二部搜寻的脚本 3./home/fa/.config/lxsession/LXDE/autostart @/home/fa/qidong.sh 阅读全文
posted @ 2016-04-04 13:51
夜空释
阅读(177)
评论(0)
推荐(0)
摘要:
1. -R 访问目录下所有文件 2. OpenGL编译链接库:-lGL -lGLU -lgult 3. 在某个目录下搜索某个文件里的关键字 grep “hello” * -rwR 2) sudo find-name \* -type f -print | xargs grep "fb" 4 pyth 阅读全文
posted @ 2016-04-04 13:44
夜空释
阅读(208)
评论(0)
推荐(0)